On Mon, 2008-04-07 at 12:55 -0700, Ross Boylan wrote:
> Not only is the man page missing, but the online help is wrong.  The
> docs for svn_load_dirs.pl seem to be a better guide to svn-load than
> it's own help!
> 
> $ svn-load -t 2.9-15 http://localhost/svn/vendor/survival/current
> survival_2.9-15
> Invalid syntax.
> usage: svn-load [options] svn_url svn_import_dir [dir_v1 [dir_v2 [..]]]
> 
> 3, not 2, arguments are mandatory; the missing 2nd argument is the
> directory for the old version in the repository (and, I guess, where the
> new version goes).  Or maybe that's what svn_import_dir is supposed to
> mean, and the 3rd argument is missing.  At any rate,
> 
svn_load_dirs.pl says the 3rd argument is optional and it will take
input from stdin.  However, the code in svn-load checks

    (options, args) = parser.parse_args()

    if len(args) < 3:
        sys.stderr.write("Invalid syntax.\n")
        parser.print_help()
        sys.exit(1)

> $ svn-load -t 2.9-15 http://localhost/svn/vendor/survival current
> survival_2.9-15
> 
> is what worked.  survival_2.9-15 is a local directory.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to