logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

Hg revert doesn't work inside the repo: msg#00446

Subject: Hg revert doesn't work inside the repo
Hello all,

If "hg revert" is called from a folder inside the repo, it does
nothing.  Might be related to the "hg status" I reported earlier.

Here is my output for windows, with tip [fbe4bbd847e5] from crew:

C:\src\tmp>mkdir quietRevert
C:\src\tmp>cd quietRevert
C:\src\tmp\quietRevert>hg init
C:\src\tmp\quietRevert>mkdir adir
C:\src\tmp\quietRevert>echo a > adir\a.txt
C:\src\tmp\quietRevert>hg add adir\a.txt
C:\src\tmp\quietRevert>hg commit -m "foo"
C:\src\tmp\quietRevert>cd adir
C:\src\tmp\quietRevert\adir>hg rm a.txt
C:\src\tmp\quietRevert\adir>ls
C:\src\tmp\quietRevert\adir>hg revert
C:\src\tmp\quietRevert\adir>ls         <--- this should have shown the
file there
C:\src\tmp\quietRevert\adir>


Daniel



<Prev in Thread] Current Thread [Next in Thread>