changeset 3047:3b3de7c68ae1 beta

fixed issue with no-cached dulwich repos
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 29 Nov 2012 22:19:16 +0100
parents be781af446af
children 3f0fe158dc0c
files rhodecode/lib/diffs.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/diffs.py	Thu Nov 29 21:35:59 2012 +0100
+++ b/rhodecode/lib/diffs.py	Thu Nov 29 22:19:16 2012 +0100
@@ -724,7 +724,7 @@
     org_ref = org_ref[1]
     other_ref = other_ref[1]
 
-    if org_repo == other_repo:
+    if org_repo_scm == other_repo_scm:
         log.debug('running diff between %s@%s and %s@%s'
                   % (org_repo.path, org_ref, other_repo.path, other_ref))
         _diff = org_repo_scm.get_diff(rev1=org_ref, rev2=other_ref,