http://cinqueterrecorniglia.com/?krovosos=un-uomo-col-fucile-incontra&e0c=e1 Remove an erroneous revision
Let’s suppose revision 3 introduced an error, then
hg backout -r 3
will remove the errors introduced in the revision.
http://cinqueterrecorniglia.com/?krovosos=un-uomo-col-fucile-incontra&e0c=e1 Remove an erroneous revision
Let’s suppose revision 3 introduced an error, then
hg backout -r 3
will remove the errors introduced in the revision.
Search hg (Mercurial) log and repository.
Search for a file
hg log file.pl
Search the list of tags
hg tags
Search log of a tag
hg log -r ver1
Search a word in the log summary
hg log -k keyword
Search a log history of a file
hg log file.pl
Search a code history of a file
hg annotate file.pl
Search for logs by date range in Mercurial
hg log –date “2012-07-01 to 2012-7-31”
http://stevelosh.com/blog/2009/08/a-guide-to-branching-in-mercurial/
Very nice tutorial about mercurial, the version control system
http://hginit.com/index.html
Use hg summary to check the status of my files.
Looking for (clean) to make sure the changes are committed and there is nothing to merge.
Example of clean status
> hg summary parent: 12:267d20bf2b03 tip merged rev.tex branch: default commit: 20 unknown (clean) update: (current)
Example when the changed is not committed and there is a merge in the repository.
parent: 8:43cedbe623e7 merged rev.tex branch: default commit: 1 modified, 20 unknown update: 2 new changesets, 2 branch heads (merge)