[hg update] Wrong file date after an update. Is it a bug ?

Mads Kiilerich mads at kiilerich.com
Fri Oct 2 10:59:15 CDT 2009


On 10/02/2009 05:46 PM, William Ledoux wrote:
> Hi,
>
> I just noticed that when I do an "hg update -r", the last modification
> date of the files are the date where I did the command, not their actual
> last modification date.
> I saw that on windows using TortoiseHG to do the command.

You are right. That is intentionally how it is. In a DVCS _you_ are the 
center of the universe, so what matters is when a file arrived on your 
harddisk, not the date when somebody made a change in their local repo.

http://mercurial.selenic.com/wiki/TimestampExtension might do something 
close to what you ask for.

> ps: As a beginner on the list, I did not manage to make a search on it,
> (other than doing a separate search for each month on this page:
> http://selenic.com/pipermail/mercurial/) Is there a faster way ?

http://mercurial.selenic.com/wiki/MailingLists

/Mads


More information about the Mercurial mailing list