Mercurial > hg
comparison mercurial/commands.py @ 15307:718e0684c703 stable
import: add i18n context
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Tue, 18 Oct 2011 09:38:10 -0200 |
parents | 0e34699d6988 |
children | e174353e8cda |
comparison
equal
deleted
inserted
replaced
15296:4b71c17caeb8 | 15307:718e0684c703 |
---|---|
3535 n = memctx.commit() | 3535 n = memctx.commit() |
3536 checkexact(repo, n, nodeid) | 3536 checkexact(repo, n, nodeid) |
3537 finally: | 3537 finally: |
3538 store.close() | 3538 store.close() |
3539 if n: | 3539 if n: |
3540 # i18n: refers to a short changeset id | |
3540 msg = _('created %s') % short(n) | 3541 msg = _('created %s') % short(n) |
3541 return (msg, n) | 3542 return (msg, n) |
3542 finally: | 3543 finally: |
3543 os.unlink(tmpname) | 3544 os.unlink(tmpname) |
3544 | 3545 |