aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-11-29 22:19:16 +0100
committerMarcin Kuzminski <marcin@python-works.com>2012-11-29 22:19:16 +0100
commit76fb2e3657939dacb6d47cf891eda6e128c49862 (patch)
treef02819f782b1c05670eae9d3f258756ff4b18975
parente284ced22259ea9f3bb2d939902985f4fde2105f (diff)
fixed issue with no-cached dulwich repos
--HG-- branch : beta
-rw-r--r--rhodecode/lib/diffs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhodecode/lib/diffs.py b/rhodecode/lib/diffs.py
index 8fb02e86..afc83ee4 100644
--- a/rhodecode/lib/diffs.py
+++ b/rhodecode/lib/diffs.py
@@ -724,7 +724,7 @@ def differ(org_repo, org_ref, other_repo, other_ref, discovery_data=None,
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,