commands.archive function

Greg Ward greg-hg at gerg.ca
Fri Mar 20 14:28:02 CDT 2009


2009/3/20 Philip Wrenn <philwrenn at gmail.com>:
> I am trying to write a simple python script that uses that archive
> command to create a file type archive.
>
> Since the archival.archive command will fail if archive type is set to
> file and a prefix exists I am not setting the prefix.  The problem is
> without a prefix the call to make_filename on line 170 of commands.py
> fails.

This is a *bit* of a hack, but what if you pass prefix=""?

Greg



More information about the Mercurial mailing list