CVS file modtime reporting - bug or feature?
Guy Rouillier <[email protected]> Mon, 27 Mar 2006 00:40:11 -0500
| Newsgroups | gmane.comp.version-control.cvs.gui.devel |
|---|---|
| Message-ID | <[email protected]> |
After making my recent mods to gCvs to allow sorting by modTime, I
noticed what I thought was a bug in gCvs. However, I tried the same
thing on WinCvs (2.0.2.1) and it's doing the same thing. So I guess
CvsNT is doing this.
Here's the scenario. Start with a file from CVS that is a couple years
old, like AUTHORS or COPYING. The ModTime column properly reports the
2004 date. Now make a trivial change and save it. The file timestamp
in the OS is of course updated to the current time, and that gets
reflected in the ModTime column.
Finally, select this same file and use the "Update" command to "get the
clean copy", i.e., revert back to the 2 year old version in CVS. It
correctly gets the CVS version, but the modtime both in the filesystem
**and** in CVS/Entries is updated to the time you did the update, not
the original timestamp from CVS!
Is this the way it has always worked, or is this a CvsNT bug? I
certainly wasn't expecting this behavior.
--
Guy Rouillier
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/cvsgui-dev/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/