mercurial/archival.py
changeset 24172 e0f06228bb66
parent 23645 242d11819c6c
child 24677 9df7ffd706d1
equal deleted inserted replaced
24171:9cb1f82a2571 24172:e0f06228bb66
   228     'uzip': lambda name, mtime: zipit(name, mtime, False),
   228     'uzip': lambda name, mtime: zipit(name, mtime, False),
   229     'zip': zipit,
   229     'zip': zipit,
   230     }
   230     }
   231 
   231 
   232 def archive(repo, dest, node, kind, decode=True, matchfn=None,
   232 def archive(repo, dest, node, kind, decode=True, matchfn=None,
   233             prefix=None, mtime=None, subrepos=False):
   233             prefix='', mtime=None, subrepos=False):
   234     '''create archive of repo as it was at node.
   234     '''create archive of repo as it was at node.
   235 
   235 
   236     dest can be name of directory, name of archive file, or file
   236     dest can be name of directory, name of archive file, or file
   237     object to write archive to.
   237     object to write archive to.
   238 
   238