Show More
@@ -272,7 +272,9 b' class localrepository(repo.repository):' | |||||
272 |
|
272 | |||
273 | try: |
|
273 | try: | |
274 | fp = self.wfile('.hgtags', 'rb+') |
|
274 | fp = self.wfile('.hgtags', 'rb+') | |
275 | except IOError: |
|
275 | except IOError, e: | |
|
276 | if e.errno != errno.ENOENT: | |||
|
277 | raise | |||
276 | fp = self.wfile('.hgtags', 'ab') |
|
278 | fp = self.wfile('.hgtags', 'ab') | |
277 | else: |
|
279 | else: | |
278 | prevtags = fp.read() |
|
280 | prevtags = fp.read() |
General Comments 0
You need to be logged in to leave comments.
Login now