equal
deleted
inserted
replaced
200 |
200 |
201 user: name of user to use if committing |
201 user: name of user to use if committing |
202 |
202 |
203 date: date tuple to use if committing''' |
203 date: date tuple to use if committing''' |
204 |
204 |
205 date = util.parsedate(date) |
|
206 for x in self.status()[:5]: |
205 for x in self.status()[:5]: |
207 if '.hgtags' in x: |
206 if '.hgtags' in x: |
208 raise util.Abort(_('working copy of .hgtags is changed ' |
207 raise util.Abort(_('working copy of .hgtags is changed ' |
209 '(please commit .hgtags manually)')) |
208 '(please commit .hgtags manually)')) |
210 |
|
211 |
209 |
212 self._tag(name, node, message, local, user, date) |
210 self._tag(name, node, message, local, user, date) |
213 |
211 |
214 def tags(self): |
212 def tags(self): |
215 '''return a mapping of tag to node''' |
213 '''return a mapping of tag to node''' |