At 1:23 PM +0200 7/20/03, Sindbad the Seafarer wrote:
>
>Of course the term "export" does not imply that timestamps are
>preserved as in "copy". Nevertheless it would perhaps be of general
>preferrence, also for the first checkout to a new working copy, to
>have the timestamp reflecting the true creation/change time of the
>file. I assume that implementating this is a lot easier for exporting
>from a wc than from the repository when files are actually created
>from the database.
Hmmm ... are we talking about the same thing here? I think you're
saying that "the human-language term 'export' does not imply...,"
which may well be true, but the point I was making is that "the
Subversion subcommand 'svn export' really ought to create files with
timestamps matching the last-commit times, rather than the time of
export." 'svn export' also produces a set of files without the .svn
directories, which is sort of how we got started on this topic. So a
commit-time-preserving 'svn export' seems to meet the needs of the
website maintenance.
There at the end of the paragraph, you may be referring to the
difference between the timestamp of "when did I last edit this file"
rather than "when did I get around to checking it into the
repository." We did have some discussion of this distinction on the
list; I think the upshot was that, while this makes perfect sense for
a one-user repository, it's not so clear when there are multiple
users changing private copies. Only at the moment when they commit
is any correlation done against the work of others (merge-conflict
checking, for example), making the commit time a more general point
of coordination.
What I have in mind for my website (but haven't actually assembled,
yet) is a script that does something like this:
svn export URL-TO-WEBSITE-IN-REPOSITORY temporarysite
find temporarysite -type f -newer temporarysite/.exportmarker |
xargs scp <file-list> THE-REAL-WEBSITE
rm -fr temporarysite
date > localsitewc/.exportmarker
svn commit localsitewc
--
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 21 17:56:20 2003