Mercurial > hg-website
changeset 152:1a01a60eeaf5
learning in workflows: Added mv and cp to the repeated basics in the Lone Dev workflow.
author | Arne Babenhauserheide <bab@draketo.de> |
---|---|
date | Tue, 12 May 2009 08:28:27 +0200 |
parents | 60be1cc49ae7 |
children | 53e4007ac24f |
files | hgscm/templates/workflow_guide.html |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgscm/templates/workflow_guide.html Tue May 12 08:26:01 2009 +0200 +++ b/hgscm/templates/workflow_guide.html Tue May 12 08:28:27 2009 +0200 @@ -86,7 +86,7 @@ Now you have two files, "copy" and "target", and Mercurial knows how they are related. -Note: Should you forget to do the explicit move, you can still tell Mercurial to detect the changes via <hg>hg addremove --similarity 100</hg>. Just use <hg>hg help addremove</hg> for details. +Note: Should you forget to do the explicit copy or move, you can still tell Mercurial to detect the changes via <hg>hg addremove --similarity 100</hg>. Just use <hg>hg help addremove</hg> for details. <h5>Check your history</h5> @@ -123,6 +123,8 @@ $ (do some changes) $ hg diff # see changes $ hg commit # save changes +$ hg cp # copy files or folders +$ hg mv # move files or folders $ hg log # see history</pre> <h5>Seeing an earlier revision</h5>