Mercurial > hg
view tests/test-convert-svn-move.out @ 6297:fed1a9c22076
dirstate.remove: during merges, remember the previous file state
We encode the previous state as a negative file size (AFAICS, previous
versions of hg always have size == 0 when state == 'r').
We save the state of 'm'erged and dirty files, because they're the
two states that indicate that a file has to be committed on a merge
to correctly record per-file history.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 18 Mar 2008 04:07:39 -0300 |
parents | 971a17af5982 |
children | a6e2e60b34d0 |
line wrap: on
line source
% initial svn import Adding projA/trunk Adding projA/trunk/a Adding projA/trunk/d1 Adding projA/trunk/d1/b Adding projA/trunk/d1/c Committed revision 1. % update svn repository A A/trunk A A/trunk/a A A/trunk/d1 A A/trunk/d1/b A A/trunk/d1/c Checked out revision 1. Sending trunk/a Sending trunk/d1/c Transmitting file data .. Committed revision 2. Committed revision 3. D trunk A subproject A subproject/a A subproject/d1 A subproject/d1/b A subproject/d1/c Updated to revision 3. A subproject/trunk Adding subproject/trunk Committed revision 4. A subproject/branches Adding subproject/branches Committed revision 5. Committed revision 6. A subproject/trunk/d1 A subproject/trunk/d1/b A subproject/trunk/d1/c D subproject/d1 Updated to revision 6. Sending subproject/trunk/d1/b Transmitting file data . Committed revision 7. Committed revision 8. % convert trunk and branches initializing destination A-hg repository scanning source... sorting... converting... 6 createtrunk 5 moved1 4 moved1 3 changeb 2 changeb 1 moved1again 0 moved1again o 6 moved1again files: d1/b d1/c | | o 5 moved1again files: | | o | 4 changeb files: d1/b | | | o 3 changeb files: b | | o | 2 moved1 files: d1/b d1/c | | | o 1 moved1 files: b c | o 0 createtrunk files: default 6: d1 5: