##// END OF EJS Templates
inotify: fix status . in repo.root
Brendan Cully -
r7393:92c952c4 default
parent child Browse files
Show More
@@ -52,6 +52,8 b' def reposetup(ui, repo):'
52
52
53 def status(self, match, ignored, clean, unknown=True):
53 def status(self, match, ignored, clean, unknown=True):
54 files = match.files()
54 files = match.files()
55 if '.' in files:
56 files = []
55 try:
57 try:
56 if not ignored and not self.inotifyserver:
58 if not ignored and not self.inotifyserver:
57 result = client.query(ui, repo, files, match, False,
59 result = client.query(ui, repo, files, match, False,
@@ -27,4 +27,12 b' hg status -c'
27 echo % all
27 echo % all
28 hg status -A
28 hg status -A
29
29
30 echo '% path patterns'
31 echo x > dir/x
32 hg status .
33 hg status dir
34 cd dir
35 hg status .
36 cd ..
37
30 kill `cat hg.pid`
38 kill `cat hg.pid`
@@ -27,3 +27,8 b' C dir/bar/foo'
27 C dir/x
27 C dir/x
28 C dir/y
28 C dir/y
29 C e
29 C e
30 % path patterns
31 M dir/x
32 ? hg.pid
33 M dir/x
34 M x
General Comments 0
You need to be logged in to leave comments. Login now