How to undo a pull

Michael Smith michael.smith at thalesatm.com
Thu Aug 30 23:20:20 CDT 2007


Imbeault, Jean-Christian wrote:
> I've just done a pull and realised that I don't want the change. How do
> I undo the pull?

One way is to make a clone of your repository:

hg clone -r REV-U-WANT repo1 repo2

...creates repo2 with the specified revision.
-- 
Michael Smith               | 61 386 304 560
Team Leader, Case and Tools | 61 416 062 898
Thales Australia TCC        |    S  37.82329
Melbourne, Victoria         |    E 144.95426
--------------------------------------------
Confidentiality Notice: This e-mail may contain confidential and/or 
privileged information and is intended solely for the addressee(s) 
named. If you have received this information in error, or are advised 
that you have been posted this e-mail by accident, please notify the 
sender by return e-mail, do not redistribute it, delete the e-mail and 
keep no copies.


More information about the Mercurial mailing list