util.copyfile and permissions

Chad Dombrova chadrik at gmail.com
Thu Oct 22 05:09:33 UTC 2009


> one more thing:  times on files in the working directory are stored  
> in dirstate to determine if the file has been modified, right? is  
> util.copyfile being used in that context?  i've searched for all  
> occurrences but i don't know the code well enough to know whether  
> the files being operated on are working files or repo files.

ok, one last thing, for real this time.  what i was getting at with  
this line of questioning is this: can i change util.copyfile to use  
the method i described to globally avoid copystat or do i have to  
split this into two functions, one for repo innards that avoids  
copystat and one for working copy files that uses copystat?

-chad





More information about the Mercurial mailing list