Show More
@@ -97,7 +97,12 class lock(object): | |||||
97 | The lock file is only deleted when None is returned. |
|
97 | The lock file is only deleted when None is returned. | |
98 |
|
98 | |||
99 | """ |
|
99 | """ | |
|
100 | try: | |||
100 | locker = util.readlock(self.f) |
|
101 | locker = util.readlock(self.f) | |
|
102 | except OSError, why: | |||
|
103 | if why.errno == errno.ENOENT: | |||
|
104 | return None | |||
|
105 | raise | |||
101 | try: |
|
106 | try: | |
102 | host, pid = locker.split(":", 1) |
|
107 | host, pid = locker.split(":", 1) | |
103 | except ValueError: |
|
108 | except ValueError: |
@@ -1622,8 +1622,8 Test commit's addremove option prior to | |||||
1622 | A large.dat |
|
1622 | A large.dat | |
1623 | A large2.dat |
|
1623 | A large2.dat | |
1624 | A normal |
|
1624 | A normal | |
1625 |
$ find .hglf |
|
1625 | $ find .hglf | sort | |
1626 |
.hglf |
|
1626 | .hglf | |
1627 | .hglf/large.dat |
|
1627 | .hglf/large.dat | |
1628 | .hglf/large2.dat |
|
1628 | .hglf/large2.dat | |
1629 |
|
1629 |
General Comments 0
You need to be logged in to leave comments.
Login now