Mercurial > hg
comparison tests/test-status.t @ 42502:c929f612afac
logcmdutil: also check for copies in null revision and working copy
It's safe (and fast) to look for copies in the null revision, and it's
incorrect not to look for them in the working copy, so let's look in
both places.
Differential Revision: https://phab.mercurial-scm.org/D6544
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 18 Jun 2019 23:19:24 -0700 |
parents | 75334e5b519e |
children | aac921f54554 |
comparison
equal
deleted
inserted
replaced
42501:75334e5b519e | 42502:c929f612afac |
---|---|
628 files: | 628 files: |
629 M a | 629 M a |
630 b | 630 b |
631 R b | 631 R b |
632 | 632 |
633 BROKEN: as above, 'a' should be marked a copy | |
634 $ hg log -GTstatus -r 'wdir()' -C | 633 $ hg log -GTstatus -r 'wdir()' -C |
635 o changeset: 2147483647:ffffffffffff | 634 o changeset: 2147483647:ffffffffffff |
636 | parent: 0:8c55c58b4c0e | 635 | parent: 0:8c55c58b4c0e |
637 ~ user: test | 636 ~ user: test |
638 date: * (glob) | 637 date: * (glob) |
639 files: | 638 files: |
640 M a | 639 M a |
640 b | |
641 R b | 641 R b |
642 | 642 |
643 | 643 |
644 Other "bug" highlight, the revision status does not report the copy information. | 644 Other "bug" highlight, the revision status does not report the copy information. |
645 This is buggy behavior. | 645 This is buggy behavior. |