##// END OF EJS Templates
fix a bug in dirstate.changes when cwd != repo.root...
Benoit Boissinot -
r1491:91c0e8d7 default
parent child Browse files
Show More
@@ -380,7 +380,8 b' class dirstate:'
380 380 nonexistent = True
381 381 if not st:
382 382 try:
383 st = os.lstat(fn)
383 f = os.path.join(self.root, fn)
384 st = os.lstat(f)
384 385 except OSError, inst:
385 386 if inst.errno != errno.ENOENT:
386 387 raise
@@ -40,3 +40,6 b' echo "--" ; hg status'
40 40
41 41 echo "relglob:*" > .hgignore
42 42 echo "--" ; hg status
43
44 cd dir
45 echo "--" ; hg status
@@ -32,3 +32,5 b' A dir/b.o'
32 32 ? dir/c.o
33 33 --
34 34 A dir/b.o
35 --
36 A b.o
General Comments 0
You need to be logged in to leave comments. Login now