revert changes to a single file

Michael Mossey michaelmossey at gmail.com
Tue May 13 04:58:52 UTC 2014


On Mon, May 12, 2014 at 9:29 PM, Steve Barnes <gadgetsteve at hotmail.com>wrote:

>  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 listMercurial at selenic.comhttp://selenic.com/mailman/listinfo/mercurial
>
>  hg revert *file_name_you_would_like_to_revert *seems like it would do
> the job.
>
>
>
Does that create a backup file called <filename>.orig ? I think that's what
it just did.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140512/037d0e7e/attachment-0002.html>


More information about the Mercurial mailing list