Submitter | Pierre-Yves David |
---|---|
Date | March 15, 2017, 7:43 a.m. |
Message ID | <80da55359b3458499181.1489563812@nodosa.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/19356/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -689,11 +689,11 @@ class localrepository(object): return try: - fp = self.wfile('.hgtags', 'rb+') + fp = self.wvfs('.hgtags', 'rb+') except IOError as e: if e.errno != errno.ENOENT: raise - fp = self.wfile('.hgtags', 'ab') + fp = self.wvfs('.hgtags', 'ab') else: prevtags = fp.read()