comparison hgext/convert/__init__.py @ 7598:26adfaccdf73

lowercase help output Changes docstrings to begin with a lowercase word. Only docstrings used in help output is changed. Scripts are not expected to grep the output of 'hg help' so this change should pose no problem with regard to the compatibility rules.
author Martin Geisler <mg@daimi.au.dk>
date Sat, 03 Jan 2009 17:15:15 +0100
parents 16905fc2690f
children 2e48668b51f0
comparison
equal deleted inserted replaced
7597:81f68565281c 7598:26adfaccdf73
12 from mercurial.i18n import _ 12 from mercurial.i18n import _
13 13
14 # Commands definition was moved elsewhere to ease demandload job. 14 # Commands definition was moved elsewhere to ease demandload job.
15 15
16 def convert(ui, src, dest=None, revmapfile=None, **opts): 16 def convert(ui, src, dest=None, revmapfile=None, **opts):
17 """Convert a foreign SCM repository to a Mercurial one. 17 """convert a foreign SCM repository to a Mercurial one.
18 18
19 Accepted source formats [identifiers]: 19 Accepted source formats [identifiers]:
20 - Mercurial [hg] 20 - Mercurial [hg]
21 - CVS [cvs] 21 - CVS [cvs]
22 - Darcs [darcs] 22 - Darcs [darcs]
183 183
184 def debugsvnlog(ui, **opts): 184 def debugsvnlog(ui, **opts):
185 return convcmd.debugsvnlog(ui, **opts) 185 return convcmd.debugsvnlog(ui, **opts)
186 186
187 def debugcvsps(ui, *args, **opts): 187 def debugcvsps(ui, *args, **opts):
188 '''Create changeset information from CVS 188 '''create changeset information from CVS
189 189
190 This command is intended as a debugging tool for the CVS to Mercurial 190 This command is intended as a debugging tool for the CVS to Mercurial
191 converter, and can be used as a direct replacement for cvsps. 191 converter, and can be used as a direct replacement for cvsps.
192 192
193 Hg debugcvsps reads the CVS rlog for current directory (or any named 193 Hg debugcvsps reads the CVS rlog for current directory (or any named
214 'hg debugsvnlog'), 214 'hg debugsvnlog'),
215 "debugcvsps": 215 "debugcvsps":
216 (debugcvsps, 216 (debugcvsps,
217 [ 217 [
218 # Main options shared with cvsps-2.1 218 # Main options shared with cvsps-2.1
219 ('b', 'branches', [], _('Only return changes on specified branches')), 219 ('b', 'branches', [], _('only return changes on specified branches')),
220 ('p', 'prefix', '', _('Prefix to remove from file names')), 220 ('p', 'prefix', '', _('prefix to remove from file names')),
221 ('r', 'revisions', [], _('Only return changes after or between specified tags')), 221 ('r', 'revisions', [], _('only return changes after or between specified tags')),
222 ('u', 'update-cache', None, _("Update cvs log cache")), 222 ('u', 'update-cache', None, _("update cvs log cache")),
223 ('x', 'new-cache', None, _("Create new cvs log cache")), 223 ('x', 'new-cache', None, _("create new cvs log cache")),
224 ('z', 'fuzz', 60, _('Set commit time fuzz in seconds')), 224 ('z', 'fuzz', 60, _('set commit time fuzz in seconds')),
225 ('', 'root', '', _('Specify cvsroot')), 225 ('', 'root', '', _('specify cvsroot')),
226 # Options specific to builtin cvsps 226 # Options specific to builtin cvsps
227 ('', 'parents', '', _('Show parent changesets')), 227 ('', 'parents', '', _('show parent changesets')),
228 ('', 'ancestors', '', _('Show current changeset in ancestor branches')), 228 ('', 'ancestors', '', _('show current changeset in ancestor branches')),
229 # Options that are ignored for compatibility with cvsps-2.1 229 # Options that are ignored for compatibility with cvsps-2.1
230 ('A', 'cvs-direct', None, 'Ignored for compatibility'), 230 ('A', 'cvs-direct', None, 'ignored for compatibility'),
231 ], 231 ],
232 'hg debugcvsps [OPTION]... [PATH]...'), 232 'hg debugcvsps [OPTION]... [PATH]...'),
233 } 233 }