diff __init__.py @ 301:79440ed81011

Allow specifying a revision to stop at using the -H flag. This is useful for converting repositories which have been deleted or renamed, such as llvm-gcc-4-2 in the LLVM repositories which was renamed to llvm-gcc-4.2 shortly after its creation. Also, consolidate the two places in svn_swig_wrapper.py where a default chunk size is specified to one, single variable declaration.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Fri, 27 Mar 2009 03:21:45 +0100
parents fa26c7ef0180
children ce676eff002b
line wrap: on
line diff
--- a/__init__.py
+++ b/__init__.py
@@ -84,7 +84,8 @@ cmdtable = {
          ),
     "svnclone":
         (svn_fetch,
-         [('S', 'skipto-rev', '0', 'skip commits before this revision.'),
+         [('S', 'skipto-rev', 0, 'skip commits before this revision.'),
+          ('H', 'head', 0, 'skip revisions after this one.'),
           ('', 'stupid', False, 'be stupid and use diffy replay.'),
           ('T', 'tag-locations', 'tags', 'Relative path to Subversion tags.'),
           ('A', 'authors', '', 'username mapping filename'),