##// END OF EJS Templates
tag: don't check .hgtags status if --local passed...
Kevin Bullock -
r13133:c1492615 stable
parent child Browse files
Show More
@@ -296,6 +296,7 b' class localrepository(repo.repository):'
296 296
297 297 date: date tuple to use if committing'''
298 298
299 if not local:
299 300 for x in self.status()[:5]:
300 301 if '.hgtags' in x:
301 302 raise util.Abort(_('working copy of .hgtags is changed '
@@ -196,3 +196,15 b' test custom commit messages'
196 196 $ hg log -l1 --template "{desc}\n"
197 197 custom tag message
198 198 second line
199
200 local tag with .hgtags modified
201
202 $ hg tag hgtags-modified
203 $ hg rollback
204 rolling back to revision 11 (undo commit)
205 $ hg st
206 M .hgtags
207 ? .hgtags.orig
208 ? editor
209 $ hg tag --local baz
210 $ hg revert --no-backup .hgtags
General Comments 0
You need to be logged in to leave comments. Login now