Mercurial temporary file nomenclature

Larry Hastings larry at hastings.org
Mon Apr 12 11:40:10 CDT 2010



I happen to be running an inotify against a Mercurial repository.  If I 
then run "hg up" in that directory, I see two temporary files whizz by 
in the root of the repo.  Worse yet I can't really filter them out.  The 
first file always starts with "tmp" followed by six random characters 
and no extension; the second file is simply six random characters.

I can live with all this but it'd be nice if I didn't have to.  Is there 
any way to mitigate this behavior?  Like

    * tell Mercurial somehow to use a different directory for these
      temporary files?  An environment variable would be perfect.
    * change Mercurial so its temporary file naming scheme is
      predictable, like  "."join(["hg", six_random_characters,  "tmp"]).


Cheers,


/larry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial/attachments/20100412/e66bf038/attachment.htm>


More information about the Mercurial mailing list