equal
deleted
inserted
replaced
132 else: |
132 else: |
133 try: |
133 try: |
134 ntags = self.filectx('.hgtags', parent).data() |
134 ntags = self.filectx('.hgtags', parent).data() |
135 except revlog.LookupError: |
135 except revlog.LookupError: |
136 ntags = '' |
136 ntags = '' |
137 self.wfile('.hgtags', 'ab').write(ntags + line) |
137 self.wfile('.hgtags', 'wb').write(ntags + line) |
138 if use_dirstate and self.dirstate.state('.hgtags') == '?': |
138 if use_dirstate and self.dirstate.state('.hgtags') == '?': |
139 self.add(['.hgtags']) |
139 self.add(['.hgtags']) |
140 |
140 |
141 tagnode = self.commit(['.hgtags'], message, user, date, p1=parent, |
141 tagnode = self.commit(['.hgtags'], message, user, date, p1=parent, |
142 extra=extra) |
142 extra=extra) |