Modified dates on branched files
Moderator: SourceGear
Modified dates on branched files
Branched a Vault folder and noticed that the modified date of the files on the branch have all been changed to "now". Surely this is not correct, as the files have not been modified. While I know Source safe has inadequate support for branches, I did compare this to the behaviour in Source safe and verified that Source safe does not update the modified date of the branched files.
Can you provide a good reason for changing the file-modified date on the branch? If not then shouldn't this be "fixed" so as to preserve the file modified date from the trunk.
Thanks
Christian
Can you provide a good reason for changing the file-modified date on the branch? If not then shouldn't this be "fixed" so as to preserve the file modified date from the trunk.
Thanks
Christian
I suppose it is a philosophical difference - the files are new in that they were branched to a new location, even though the contents did not change. So, their remote date is correct, in that this node in the tree was created at branch time. However, an argument could be made that since they were not modified, their modification times should remain what they were.
Is this causing an actual problem for you, or is it just something that doesn't seem right?
Is this causing an actual problem for you, or is it just something that doesn't seem right?
Not causing me a problem - just looks kinda wierd. Plus you lose some potentially useful info to be able to [easily] determine the date when the file was branch versus the date when it was last modified.dan wrote: Is this causing an actual problem for you, or is it just something that doesn't seem right?
Christian
Hi Jeff,
Not sure I follow this when viewing history. I select a file on the branch and view history - I see only one date column; history item n-1 is obviously the history that applies to the file just before the branch and its date equates to the remote date (the date of the action in Vault) while history item n is again the remote date. What am I doing wrong?
Also you must agree that the modified date of the original file being available from the main display in Vault would be much easier to interrogate?
Christian
Not sure I follow this when viewing history. I select a file on the branch and view history - I see only one date column; history item n-1 is obviously the history that applies to the file just before the branch and its date equates to the remote date (the date of the action in Vault) while history item n is again the remote date. What am I doing wrong?
Also you must agree that the modified date of the original file being available from the main display in Vault would be much easier to interrogate?
Christian
The item was branched at the remote date for version n. The item was last modified at the remote date for version n - 1.
Basically, a branch creates a new file system object ( for the branched file) and "revs" the version number. The remote date on this version is the date of the branch.
So when viewing history versions 1 to n-1 are the history entries from the source of the branch. Version n is the new history for the branched item.
Basically, a branch creates a new file system object ( for the branched file) and "revs" the version number. The remote date on this version is the date of the branch.
So when viewing history versions 1 to n-1 are the history entries from the source of the branch. Version n is the new history for the branched item.
Jeff Clausius
SourceGear
SourceGear