document the possible race in "hg undo"
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 03 Apr 2006 22:47:18 +0200
changeset 2045 5796edb127e6
parent 2044 b343e7d454b4
child 2046 d14497cbd668
document the possible race in "hg undo"
mercurial/commands.py
--- a/mercurial/commands.py	Mon Apr 03 21:38:59 2006 +0200
+++ b/mercurial/commands.py	Mon Apr 03 22:47:18 2006 +0200
@@ -2756,7 +2756,9 @@
 
     This command is not intended for use on public repositories. Once
     a change is visible for pull by other users, undoing it locally is
-    ineffective.
+    ineffective. Furthemore a race is possible with readers of the
+    repository, for example an ongoing pull from the repository will
+    fail and rollback.
     """
     repo.undo()