comparison mercurial/commands.py @ 14363:82f3b0f3f0a5

localrepo, sshrepo: use Boolean create argument in __init__
author Martin Geisler <mg@lazybytes.net>
date Wed, 18 May 2011 19:30:17 +0200
parents 8c740a850ad7
children ec2aae8b375d
comparison
equal deleted inserted replaced
14362:8c740a850ad7 14363:82f3b0f3f0a5
3221 It is possible to specify an ``ssh://`` URL as the destination. 3221 It is possible to specify an ``ssh://`` URL as the destination.
3222 See :hg:`help urls` for more information. 3222 See :hg:`help urls` for more information.
3223 3223
3224 Returns 0 on success. 3224 Returns 0 on success.
3225 """ 3225 """
3226 hg.repository(hg.remoteui(ui, opts), ui.expandpath(dest), create=1) 3226 hg.repository(hg.remoteui(ui, opts), ui.expandpath(dest), create=True)
3227 3227
3228 @command('locate', 3228 @command('locate',
3229 [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')), 3229 [('r', 'rev', '', _('search the repository as it is in REV'), _('REV')),
3230 ('0', 'print0', None, _('end filenames with NUL, for use with xargs')), 3230 ('0', 'print0', None, _('end filenames with NUL, for use with xargs')),
3231 ('f', 'fullpath', None, _('print complete paths from the filesystem root')), 3231 ('f', 'fullpath', None, _('print complete paths from the filesystem root')),