[PATCH] Fix util._statfiles_clustered() failing at root of awindows drive

Andrei Vermel andrei.vermel at gmail.com
Sat Nov 1 10:03:55 CDT 2008


 
> Yes, your previous message made things much clearer. I am 
> currently stuck on "_statfiles_clustered('\\a')" which is 
> valid but fails with your patch for dir[-1] is undefined. I 
> think the right fix is to replace empty dir by current driver 
> letter + ':\', I am looking for an efficient way to do that.
Indeed, I missed this out!
I suppose we can simply add os.sep to any dirt.

Andrei



More information about the Mercurial-devel mailing list