Problem with win32text
Shun-ichi GOTO
shunichi.goto at gmail.com
Sun Mar 16 13:56:24 UTC 2008
2008/3/16, Alexis S. L. Carvalho <alexis at cecm.usp.br>:
> I'm not sure what's the right thing to do here. In the example above,
> making the status right after the revert show baz as clean might lead to
> fewer surprises. Hmm...
I feel it is natural that "hg revert" updates dirstate because:
1) What "hg revert" does is "extraction" of file content.
2) The eencode/decode is a part of "extraction".
3) The encode/decode may not symmetry and may be changed by user.
4) It is not strange that dirstate holds informations of most recent
extraction.
Is there any reason we should not update dirstate by "revert"?
--
Shun-ichi GOTO
More information about the Mercurial
mailing list