[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: can I insert older versions of files? i.e. "here's backups of 3 months ago - put 'em in right revision order..."

From: Alan Jay Weiner <alan_at_ajw.com>
Date: 2004-07-26 20:39:27 CEST

>> with Subversion and TortoiseSVN... (yeah, mostly procrastination... :)
>
>Ahh, procratination. A process I am very familiar with :-)

Alas, me too... :)

>>>> Am I correct in thinking that Subversion doesn't maintain a timestamp
>>>> for each file?
>> (snip)

>> 1) Sometimes multiple developers will need to compare files - often it's
>> "what's the timestamp on foo.c..." - as far as I can see it's just as
>easy
>> to say "what's the version number on foo.c..." - and with TSVN's ability
>to
>> show the version in Windows Explorer, this seems a minor issue to me...
>
>Right! And it's easier to remember a revnum, than to remember all the
>elements of a date&time.
>Also, one revnum identifies all the files in a multi-file commit.

It's usually when I'm across the room and yelling out "My foo.c is 1/1/04;
what's yours?"...

Or like right now, where I've got several projects with *some* common files (but
copied into the project; not referencing up-and-down outside directories; so I
can zip the project and send to a client as-is)
I've been lazy and edited some of the common files and added new ones; now I'm
merging back into my common library...
(damn! I want that SS-like shared files! svn:externals with a single file
instead of a directory... I need it! I use it all the time!! :)

>> 2) A bigger issue would be directory-comparison utilities - if the size
(snip)
>
>Please, be aware the "use-commit-times" essentially breaks make and similar
>utilities.
>
>There is a reason why its not on by default.

y'know, I didn't even think of that! Won't affect me right now 'cause my
active projects are just me. I'll turn it off as soon as I get everything
into Subversion.

>>>> I could simulate this by committing each file individually; that would
(snip)
>
>Hmm, seems a lot of work, and is essentially fighting against subversion.
>I have an alternate suggestion:
>1 old commit == 1 svn commit, but set a property on files to record their
>actual old timestamp. The property won't mean anything special to
>subversion, of course, but the information will be preserved, and it should
>be easy to write a script to recurse over a WC, doing "svn propget; touch"
>if ever necessary.

Ah! much better! Thanks for suggesting it!

- Al -

-- 
--  Alan Weiner  --  alan_at_ajw.com  --  http://www.ajw.com
Palm OS Certified Developer
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 26 20:40:12 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.