equal
deleted
inserted
replaced
4732 node2 = scmutil.revsingle(repo, change, None).node() |
4732 node2 = scmutil.revsingle(repo, change, None).node() |
4733 node1 = repo[node2].p1().node() |
4733 node1 = repo[node2].p1().node() |
4734 else: |
4734 else: |
4735 node1, node2 = scmutil.revpair(repo, revs) |
4735 node1, node2 = scmutil.revpair(repo, revs) |
4736 |
4736 |
4737 if pats: |
4737 if pats or ui.configbool('commands', 'status.relative'): |
4738 cwd = repo.getcwd() |
4738 cwd = repo.getcwd() |
4739 else: |
4739 else: |
4740 cwd = '' |
4740 cwd = '' |
4741 |
4741 |
4742 if opts.get('print0'): |
4742 if opts.get('print0'): |