# HG changeset patch # User Arne Babenhauserheide # Date 1242109707 -7200 # Node ID 1a01a60eeaf556e742cb3bc2376ab8d6b2fcfdda # Parent 60be1cc49ae7d6582c4136f46f4492c163589b9f learning in workflows: Added mv and cp to the repeated basics in the Lone Dev workflow. diff -r 60be1cc49ae7 -r 1a01a60eeaf5 hgscm/templates/workflow_guide.html --- 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 addremove --similarity 100. Just use hg help addremove for details. +Note: Should you forget to do the explicit copy or move, you can still tell Mercurial to detect the changes via hg addremove --similarity 100. Just use hg help addremove for details.
Check your history
@@ -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
Seeing an earlier revision