comparison __init__.py @ 143:edd9f4e5154a

Phrasing nits.
author Augie Fackler <durin42@gmail.com>
date Mon, 15 Dec 2008 21:36:14 -0600
parents 42958d9de864
children 3cd6a7354207
comparison
equal deleted inserted replaced
142:42958d9de864 143:edd9f4e5154a
22 '''Clone Subversion repository to local Mercurial repository. 22 '''Clone Subversion repository to local Mercurial repository.
23 23
24 If no destination directory name is specified, it defaults to the 24 If no destination directory name is specified, it defaults to the
25 basename of the source plus "-hg". 25 basename of the source plus "-hg".
26 26
27 You can specify few paths for storing tags using comma separated values. 27 You can specify multiple paths for the location of tags using comma
28 separated values.
28 ''' 29 '''
29 if not hg_repo_path: 30 if not hg_repo_path:
30 hg_repo_path = hg.defaultdest(svn_url) + "-hg" 31 hg_repo_path = hg.defaultdest(svn_url) + "-hg"
31 ui.status("Assuming destination %s\n" % hg_repo_path) 32 ui.status("Assuming destination %s\n" % hg_repo_path)
32 should_update = not os.path.exists(hg_repo_path) 33 should_update = not os.path.exists(hg_repo_path)
48 ), 49 ),
49 "svnclone": 50 "svnclone":
50 (svn_fetch, 51 (svn_fetch,
51 [('S', 'skipto-rev', '0', 'Skip commits before this revision.'), 52 [('S', 'skipto-rev', '0', 'Skip commits before this revision.'),
52 ('', 'stupid', False, 'Be stupid and use diffy replay.'), 53 ('', 'stupid', False, 'Be stupid and use diffy replay.'),
53 ('T', 'tag-locations', 'tags', 'Relative path to where tags get stored.') 54 ('T', 'tag-locations', 'tags', 'Relative path to Subversion tags.')
54 ], 55 ],
55 'hg svnclone source [dest]'), 56 'hg svnclone source [dest]'),
56 } 57 }