Mercurial > hg
comparison hgext/convert/__init__.py @ 5138:9cda2315c7a9
convert: Use debugsvnlog instead of git-like debug-svn-log.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 07 Aug 2007 09:42:32 +0200 |
parents | c14968344d19 |
children | 18abf13064cb |
comparison
equal
deleted
inserted
replaced
5137:2be225ea5722 | 5138:9cda2315c7a9 |
---|---|
13 | 13 |
14 import os, shlex, shutil, sys | 14 import os, shlex, shutil, sys |
15 from mercurial import hg, ui, util, commands | 15 from mercurial import hg, ui, util, commands |
16 from mercurial.i18n import _ | 16 from mercurial.i18n import _ |
17 | 17 |
18 commands.norepo += " convert debug-svn-log" | 18 commands.norepo += " convert debugsvnlog" |
19 | 19 |
20 converters = [convert_cvs, convert_git, convert_svn, mercurial_source, | 20 converters = [convert_cvs, convert_git, convert_svn, mercurial_source, |
21 mercurial_sink] | 21 mercurial_sink] |
22 | 22 |
23 def convertsource(ui, path, **opts): | 23 def convertsource(ui, path, **opts): |
448 [('A', 'authors', '', 'username mapping filename'), | 448 [('A', 'authors', '', 'username mapping filename'), |
449 ('', 'filemap', '', 'remap file names using contents of file'), | 449 ('', 'filemap', '', 'remap file names using contents of file'), |
450 ('r', 'rev', '', 'import up to target revision REV'), | 450 ('r', 'rev', '', 'import up to target revision REV'), |
451 ('', 'datesort', None, 'try to sort changesets by date')], | 451 ('', 'datesort', None, 'try to sort changesets by date')], |
452 'hg convert [OPTION]... SOURCE [DEST [MAPFILE]]'), | 452 'hg convert [OPTION]... SOURCE [DEST [MAPFILE]]'), |
453 "debug-svn-log": | 453 "debugsvnlog": |
454 (debugsvnlog, | 454 (debugsvnlog, |
455 [], | 455 [], |
456 'hg debug-svn-log'), | 456 'hg debugsvnlog'), |
457 } | 457 } |
458 | 458 |