Nikos Athanasiou
Nikos Athanasiou

Reputation: 31597

Reverse "hg update --clean"

Is the command described in the title reversible?

I tried searching the log (with hg log) and stripping the corresponding changeset, but no log was issued for this command.

Upvotes: 0

Views: 1242

Answers (1)

Lazy Badger
Lazy Badger

Reputation: 97365

Is the command described in the title reversible?

no, if you --clean, you'll lose all changes in working directory

I tried searching the log ... but no log was issued for this command

hg up does not affect repository in any way, it's a pure workdir command

Upvotes: 5

Related Questions