hgbook

changeset 181:d4570b8c78bd

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