changeset 181:d4570b8c78bd

Be more explicit about the behaviour of copy with modified files.
author Bryan O'Sullivan <bos@serpentine.com>
date Fri, 30 Mar 2007 23:23:11 -0700
parents 6413f88338df
children c005d0181c0b
files en/daily.tex
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/en/daily.tex	Fri Mar 30 23:20:27 2007 -0700
+++ b/en/daily.tex	Fri Mar 30 23:23:11 2007 -0700
@@ -247,9 +247,11 @@
 
 When you use the \hgcmd{copy} command, Mercurial makes a copy of each
 source file as it currently stands in the working directory.  This
-means that if you make some modifications to a file, then copy it
-without first having committed those changes, the new copy will
-contain your modifications.
+means that if you make some modifications to a file, then \hgcmd{copy}
+it without first having committed those changes, the new copy will
+also contain the modifications you have made up until that point.  (I
+find this behaviour a little counterintuitive, which is why I mention
+it here.)
 
 The \hgcmd{copy} command acts similarly to the Unix \command{cp}
 command (you can use the \hgcmd{cp} alias if you prefer).  The last