Mercurial > hg
comparison mercurial/archival.py @ 6913:580d5e6bfc1f
move % out of translatable strings
The translators need to see the raw format string, not the result of
using the format string.
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 16 Aug 2008 14:46:56 +0200 |
parents | 51b0e799352f |
children | fd3e5ff53a31 |
comparison
equal
deleted
inserted
replaced
6912:b92baef99ebf | 6913:580d5e6bfc1f |
---|---|
207 if decode: | 207 if decode: |
208 data = repo.wwritedata(name, data) | 208 data = repo.wwritedata(name, data) |
209 archiver.addfile(name, mode, islink, data) | 209 archiver.addfile(name, mode, islink, data) |
210 | 210 |
211 if kind not in archivers: | 211 if kind not in archivers: |
212 raise util.Abort(_("unknown archive type '%s'" % kind)) | 212 raise util.Abort(_("unknown archive type '%s'") % kind) |
213 | 213 |
214 ctx = repo[node] | 214 ctx = repo[node] |
215 archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) | 215 archiver = archivers[kind](dest, prefix, mtime or ctx.date()[0]) |
216 | 216 |
217 if repo.ui.configbool("ui", "archivemeta", True): | 217 if repo.ui.configbool("ui", "archivemeta", True): |