Using commands.archive function

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sat Mar 28 13:00:31 CDT 2009


On Fri, Mar 20, 2009 at 12:25:28PM -0400, Philip Wrenn wrote:
> 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.

You should probably set the prefix as '' (empty string).

regards,

Benoit

-- 
:wq


More information about the Mercurial mailing list