reset file modification time when go back in time?
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Nov 6 01:37:30 CST 2007
On 2007-11-06 12:00, dhruva <dhruvakm at gmail.com> wrote:
> Hi,
>
> I am using mercurial to maintain my local changes of fairly large
> projects. I use branches and MQ quite extensively. The problem I face
> when I change between branches is the modification in the file
> timestamps. Whenever I switch a branch, the build system recompiles
> the whole stuff.
>
> I was wondering if the last modification time for each file in a
> changeset be stored and restored when the changesets are applied back?
> This would prevent the recompilation/build of projects.
In a distributed SCM, this is *very* tricky, at best. See the FAQ
on the wiki for some of the reasons why this is tricky:
http://www.selenic.com/mercurial/wiki/index.cgi/FAQ#head-1e601b3d2b1e1c8481ebbe9a47d4acbc4d8c3dd3
More information about the Mercurial
mailing list