revert changes to a single file

Steve Barnes gadgetsteve at hotmail.com
Tue May 13 04:29:52 UTC 2014


On 13/05/14 05:19, Michael Mossey wrote:
> How do I revert a single file to the tip revision, discarding any 
> edits since the last update?
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
hg revert /*file_name_you_would_like_to_revert */seems like it would do 
the job.
/*

*/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140513/e7340e40/attachment-0002.html>


More information about the Mercurial mailing list