hg status does not work "inside" of the repo

Daniel Santa Cruz byteshack at gmail.com
Thu Nov 17 22:51:00 UTC 2005


Hello all,

Two issues here:

1. "hg status" doesn't work on the "current" directory from a
directory inside the repository.

2. "hg status" returns 2 lines for each file


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


C:\src\tmp>mkdir badHgStatus
C:\src\tmp>hg init
C:\src\tmp>mkdir adir
C:\src\tmp>echo a > adir\afile.txt
C:\src\tmp>hg add adir\afile.txt
C:\src\tmp>hg status
A adir\afile.txt
A adir\afile.txt                     <---- Duplicate prints

C:\src\tmp>cd adir
C:\src\tmp\adir>hg status     <---- Nothing returned!
C:\src\tmp\adir>


Daniel.




More information about the Mercurial mailing list