How I deleted my new files with good help from Mercurial

Jens.Wulf at sew-eurodrive.de Jens.Wulf at sew-eurodrive.de
Mon Jun 28 08:19:51 UTC 2010


Hi,

Just stepping in because I don't understand what has happened. You did a backout and a rollback afterwards. The backout created a new changeset (1033:e9a5491a4636), not touching the commit which added your "example_file".

> Output:
>removing example_file
> changeset 1033:e9a5491a4636 backs out changeset 1032:976a92922ca5

> Without looking too much at the console, I did what I should have been doing:
> $ hg rollback

I am not sure about "hg rollback" after "hg backout", but I expected it to only rollback the commit which has been made by "hg backout". Did it really roll back both commits?

Trying it out here works as expected (only the backout changeset is rolled back).

Best regards,
Jens




SEW-EURODRIVE GmbH & Co KG
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Gesellschafter und Geschäftsführer: Rainer Blickle, Jürgen Blickle
Geschäftsführer: Johann Soder, Hans Sondermann, Bernd P. Uckrow



More information about the Mercurial mailing list