Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/patch.py @ 23750:e864353f8c6b
diff: remove dead assignment
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 06 Jan 2015 22:55:01 -0800 |
parents | a90499a6ad8d |
children | 30c6e85aac77 |
comparison
equal
deleted
inserted
replaced
23749:a387b0390082 | 23750:e864353f8c6b |
---|---|
1656 modified, added, removed = changes[:3] | 1656 modified, added, removed = changes[:3] |
1657 | 1657 |
1658 if not modified and not added and not removed: | 1658 if not modified and not added and not removed: |
1659 return [] | 1659 return [] |
1660 | 1660 |
1661 revs = None | |
1662 hexfunc = repo.ui.debugflag and hex or short | 1661 hexfunc = repo.ui.debugflag and hex or short |
1663 revs = [hexfunc(node) for node in [ctx1.node(), ctx2.node()] if node] | 1662 revs = [hexfunc(node) for node in [ctx1.node(), ctx2.node()] if node] |
1664 | 1663 |
1665 copy = {} | 1664 copy = {} |
1666 if opts.git or opts.upgrade: | 1665 if opts.git or opts.upgrade: |