diff mercurial/hg.py @ 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 5c96a4bca66b
children 92ccccb55ba3 e51c0f41f271
line wrap: on
line diff
--- a/mercurial/hg.py	Fri Mar 21 12:05:01 2008 +0100
+++ b/mercurial/hg.py	Fri Mar 21 14:52:24 2008 +0100
@@ -243,6 +243,7 @@
             fp.close()
 
             if update:
+                dest_repo.ui.status(_("updating working directory\n"))
                 if not checkout:
                     try:
                         checkout = dest_repo.lookup("default")