Mercurial > hg
diff tests/test-import.out @ 6338:0750f11152fe
clone: print "updating working directory" status message
With this change, "hg clone" looks like this:
% hg clone http://example.com/repo/big big
requesting all changes
adding changesets
adding manifests
adding file changes
added XXX changesets with XXX changes to XXX files
updating working directory
XXX files updated, XXX files merged, XXX files removed, XXX files unresolved
So the user sees
% hg clone http://example.com/repo/big big
requesting all changes
adding changesets
adding manifests
adding file changes
added XXX changesets with XXX changes to XXX files
updating working directory
while Mercurial is writing to disk to populate the working directory
With this change, "hg clone" looks like this:
% hg clone big big-work
updating working directory
XXX files updated, XXX files merged, XXX files removed, XXX files unresolved
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 21 Mar 2008 14:52:24 +0100 |
parents | 4b0c9c674707 |
children | ba0b2dacc623 |
line wrap: on
line diff
--- a/tests/test-import.out Fri Mar 21 12:05:01 2008 +0100 +++ b/tests/test-import.out Fri Mar 21 14:52:24 2008 +0100 @@ -6,6 +6,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../tip.patch % message should be same @@ -18,6 +19,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../tip.patch transaction abort! @@ -29,6 +31,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../tip.patch % import of plain diff with specific date and user @@ -37,6 +40,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../tip.patch changeset: 1:ca68f19f3a40 @@ -61,6 +65,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../tip.patch diff -r 80971e65b431 a @@ -75,6 +80,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying tip.patch % import from stdin @@ -83,6 +89,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin % override commit message @@ -91,6 +98,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin summary: override @@ -100,6 +108,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../msg.patch user: email patcher @@ -110,6 +119,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin % plain diff in email, subject, no message body @@ -118,6 +128,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin % plain diff in email, no subject, no message body, should fail @@ -126,6 +137,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin transaction abort! @@ -137,6 +149,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin summary: second change @@ -146,6 +159,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying patch from stdin email patch @@ -164,6 +178,7 @@ adding manifests adding file changes added 1 changesets with 2 changes to 2 files +updating working directory 2 files updated, 0 files merged, 0 files removed, 0 files unresolved applying ../../../tip.patch % message should be 'subdir change'