Show More
@@ -1878,7 +1878,8 def diff(ui, repo, *pats, **opts): | |||||
1878 | node1 = repo[node2].p1().node() |
|
1878 | node1 = repo[node2].p1().node() | |
1879 | else: |
|
1879 | else: | |
1880 | repo = scmutil.unhidehashlikerevs(repo, revs, 'nowarn') |
|
1880 | repo = scmutil.unhidehashlikerevs(repo, revs, 'nowarn') | |
1881 |
|
|
1881 | ctx1, ctx2 = scmutil.revpair(repo, revs) | |
|
1882 | node1, node2 = ctx1.node(), ctx2.node() | |||
1882 |
|
1883 | |||
1883 | if reverse: |
|
1884 | if reverse: | |
1884 | node1, node2 = node2, node1 |
|
1885 | node1, node2 = node2, node1 |
General Comments 0
You need to be logged in to leave comments.
Login now