Monday, October 17, 2011

Mercurial get a single file

If you'd like to get back a single file (file.txt) from a previous revision (23456) in mercurial, the command is:


hg revert -r 23456 file.txt

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete