equal
deleted
inserted
replaced
249 if opts["no_commit"]: |
249 if opts["no_commit"]: |
250 return |
250 return |
251 |
251 |
252 message = opts['message'] |
252 message = opts['message'] |
253 if not message: |
253 if not message: |
254 message = "\n".join([_("Added signature for changeset %s") |
254 # we don't translate commit messages |
|
255 message = "\n".join(["Added signature for changeset %s" |
255 % hgnode.short(n) |
256 % hgnode.short(n) |
256 for n in nodes]) |
257 for n in nodes]) |
257 try: |
258 try: |
258 m = match.exact(repo.root, '', ['.hgsigs']) |
259 m = match.exact(repo.root, '', ['.hgsigs']) |
259 repo.commit(message, opts['user'], opts['date'], match=m) |
260 repo.commit(message, opts['user'], opts['date'], match=m) |