Branching and file modified date

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
mattGreatPond
Posts: 24
Joined: Fri Apr 30, 2004 2:38 pm

Branching and file modified date

Post by mattGreatPond » Mon Jun 14, 2004 1:47 pm

When a branch is created (copy branch), all of the files in the newly created branch have their modified dates set to the date/time that the branch is created. Why is that? We were expecting explorer like semantics: copy a file and the created date changes but not the modified date (until it actually gets modified).

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Jun 16, 2004 12:07 pm

I'm not sure we have a good reason for this. I guess it is a philosophical thing as to whether a branch is a modification or not. Is this something that affects scripts you are writing?

mattGreatPond
Posts: 24
Joined: Fri Apr 30, 2004 2:38 pm

Post by mattGreatPond » Wed Jun 16, 2004 1:54 pm

One of our developers branched a project, changed a couple of files, and was surprised to see that all of the files were shown as modified while browsing them in explorer. However, I just checked this out in Perforce and they do the same thing, so I'm guessing this is probably a common practice among version control system vendors.[/i]

Locked