Rolling back

Jorge Vargas jorge.vargas at gmail.com
Tue Sep 2 02:44:41 CDT 2008


On Mon, Sep 1, 2008 at 10:39 PM, calvin <calvin at genesisweb.co.nz> wrote:
> Hi all,
>
> Here is my situation:
>
> There was a tip in the main repo, and I had a clone. I made some changes
> to the local, committed, and I pulled the tip from the server. I merged
> it with local, updated, committed again and pushed to the main repo.
> However, later on I found out that I accidentally removed some important
> files when "merging, updating" period. I tried to use "hg revert", "hg
> rollback" but nothing worked (I reckon I used incorrectly) my local repo
> is messed up - have some missing files.
>
> Is there any way to rollback to a moment before merging/updating process?
>
so both your local and remote repo are missing the files? then you
only option is to eliminate those revs. here is an explanation on how
to clone/export to eliminate the offending changesets.

http://www.selenic.com/mercurial/wiki/index.cgi/FAQ#head-bac376818d539072611561d0244b273ba947e6b9

> Cheers,
>
> Calvin
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>


More information about the Mercurial mailing list