##// END OF EJS Templates
tag: use match.exact for commit
Matt Mackall -
r8705:509083f5 default
parent child Browse files
Show More
@@ -183,7 +183,8 b' class localrepository(repo.repository):'
183 if '.hgtags' not in self.dirstate:
183 if '.hgtags' not in self.dirstate:
184 self.add(['.hgtags'])
184 self.add(['.hgtags'])
185
185
186 tagnode = self.commit(['.hgtags'], message, user, date, extra=extra)
186 m = match_.exact(self.root, '', ['.hgtags'])
187 tagnode = self.commit(None, message, user, date, extra=extra, match=m)
187
188
188 for name in names:
189 for name in names:
189 self.hook('tag', node=hex(node), tag=name, local=local)
190 self.hook('tag', node=hex(node), tag=name, local=local)
General Comments 0
You need to be logged in to leave comments. Login now