Changeset 206 in tailor
- Timestamp:
- 01/02/05 01:27:17 (8 years ago)
- Hash name:
- 20050102002717-97f81-17146de85256a9c1bcc0f1fd73e4888a9be37e83
- Location:
- vcpx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
vcpx/svn.py
r201 r206 113 113 114 114 class SvnCheckout(SystemCommand): 115 COMMAND = "svn co --revision %(revision)s %(repository)s/%(module)s %(wc)s" 115 COMMAND = "svn co --revision %(revision)s %(repository)s%(module)s %(wc)s" 116 117 def __call__(self, output=None, dry_run=False, **kwargs): 118 module = kwargs.get('module') 119 if module: 120 module = '/%s' % module 121 else: 122 module = '' 123 kwargs['module'] = module 124 return SystemCommand.__call__(self, output=output, 125 dry_run=dry_run, **kwargs) 126 116 127 117 128 def changesets_from_svnlog(log, url): -
vcpx/tailor.py
r201 r206 284 284 # in the directory named as the last component of the module's name 285 285 286 if not subdir:287 subdir = module286 if not module: 287 module = split(repository)[1] 288 288 289 289 try: … … 424 424 "the source version control kind."), 425 425 make_option("-m", "--module", dest="module", metavar="MODULE", 426 help="Specify the module to checkout at bootstrap time."), 426 help="Specify the module to checkout at bootstrap time. " 427 "It's mandatory only when dealing with CVS, and used but " 428 "not required with SVN, but since it's used in" 429 "the description of the target repository, you" 430 "are encouraged to give it a value with darcs too."), 427 431 make_option("-r", "--revision", dest="revision", metavar="REV", 428 432 help="Specify the revision bootstrap should checkout. REV "
Note: See TracChangeset
for help on using the changeset viewer.
