Showing posts with label mercurial. Show all posts
Showing posts with label mercurial. Show all posts

March 25, 2011

hg - detecting renamed files

hg addremove directory/file --similarity 90
If only want to detect files with no change, then 100 should be used. So the number represents the percentage.

March 01, 2011

hg - untracking without deleting

-A is shortcut for addremove  -->  adds all files under directory / deletes already deleted ones
f is shortcut for force, rm -f     --> forces to delete
-Af surprisingly  becomes untracking files without deleting from local repository.
forget is an alias for -Af
hg rm -Af
hg forget