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

Re: Subversion vs CVS for document files

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-11-14 22:08:17 CET

On 11/14/2006 3:44 PM, Les Mikesell wrote:
> On Tue, 2006-11-14 at 15:29 -0500, Duncan Murdoch wrote:
>> >
>> > How do you describe this document, say over the phone? I've got
>> > Revision: 528, someone else got 595, neither of us currently have
>> > access to the log file. Are they the same document or not?
>>
>> How did you determine that you've got rev 595? You looked in the wrong
>> place in svn info. You don't need the log for that.
>
> That's what svn update told me when I got it.

Then I guess you misunderstood the message from svn. It told you that
you have the version of the file that's current in that repository
revision. If you want to know the version of the file as of its last
change, you should have used svn info (or if you insist on using svn
update, you could have updated it using

svn update -rBASE file

or maybe

svn update -rCOMMITTED file

but that's a weird thing to do. Why would you want to update a file
just to figure out its revision number???)

  What's the right place
> to look for the right info, and how would you describe it so everyone
> is sure if they have the same thing when no one involved has svn
> access at the time?

You don't need remote access to run svn info. If you don't even have
local svn access to a working copy, then I guess you're out of luck,
unless you had the foresight to use svn:keywords in the file. But how
would you determine any form of version number without even having local
svn access???

> Unlike source code, documents tend to have their
> own lives outside of the repository. What's the shortest way to
> describe the last change if you don't copy it to a tag?

"-rCOMMITTED"

or a paste from the svn info output.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Nov 14 22:21:26 2006

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