Show More
@@ -576,8 +576,8 b' class localrepository(object):' | |||||
576 | if not local: |
|
576 | if not local: | |
577 | m = matchmod.exact(self.root, '', ['.hgtags']) |
|
577 | m = matchmod.exact(self.root, '', ['.hgtags']) | |
578 | if util.any(self.status(match=m, unknown=True, ignored=True)): |
|
578 | if util.any(self.status(match=m, unknown=True, ignored=True)): | |
579 |
raise util.Abort(_('working copy of .hgtags is changed |
|
579 | raise util.Abort(_('working copy of .hgtags is changed'), | |
580 |
|
|
580 | hint=_('please commit .hgtags manually')) | |
581 |
|
581 | |||
582 | self.tags() # instantiate the cache |
|
582 | self.tags() # instantiate the cache | |
583 | self._tag(names, node, message, local, user, date, editor=editor) |
|
583 | self._tag(names, node, message, local, user, date, editor=editor) |
@@ -36,7 +36,8 b' specified)' | |||||
36 |
|
36 | |||
37 | $ echo foo >> .hgtags |
|
37 | $ echo foo >> .hgtags | |
38 | $ hg tag "bleah2" |
|
38 | $ hg tag "bleah2" | |
39 |
abort: working copy of .hgtags is changed |
|
39 | abort: working copy of .hgtags is changed | |
|
40 | (please commit .hgtags manually) | |||
40 | [255] |
|
41 | [255] | |
41 |
|
42 | |||
42 | $ hg revert .hgtags |
|
43 | $ hg revert .hgtags |
General Comments 0
You need to be logged in to leave comments.
Login now