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

RE: Re: Unclear: CVS and Subversion repository difference.

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-06-17 20:31:09 CEST

On Fri, 2005-06-17 at 11:52 -0500, Rule, Chris wrote:
> Hmmm. Revision numbers are reported under the "Known Bugs" section on
> the subversion download site. So there is an interpretation used by the
> subversion team that indicates maturity (assuming fixed bugs indicates
> more mature). It also seems to be common to treat the revision number as
> a build number again making it something more than just background
> noise.

Ah, I got ya. Something like this:

"'svnversion' might error trying to link to libsvn_ra libraries
Fixed in r14755 and proposed for backport to the 1.2.1 line."

Ok, now revision 14755 is a change (or diff) that you could backport to
the current tarball with the `patch` program. Since I expect this
change to be near the top I can look for it with my 1.2.0 client:
   svn log --limit 5 \
   http://svn.collab.net/repos/svn/trunk/subversion/svnversion/main.c

Philip was the last one to make a change in r14251 before the bug fix in
r14755.

But you don't have to do this investigative work if you don't want
because the file is in state r14251 for all revisions between then and
r14755 so the following commands are equivalent.

   svn diff -r14251:14755 \
   http://svn.collab.net/repos/svn/trunk/subversion/svnversion/main.c

   svn diff -r14754:14755 \
   http://svn.collab.net/repos/svn/trunk/subversion/svnversion/main.c

   svn diff -r14754:14755 http://svn.collab.net/repos/svn/trunk/

But in the last example, if you modify the the first revision to be
r14251 and run it against trunk it will take quite a while as there are
(14755-14251) changesets that need to be compiled into one diff.

> It seems to me the revision number absolutly does indicate a version of
> a project at a given point in time.

You used the word project. That is a loaded word with many different
meanings. The fact is a revision number indicates the state of the
repository, but you cannot count on revision numbers being sequential as
the log example above shows as projects in the same repository are
simply directories.

I hope this concrete example helped someone understand.

Cheers,
Chris

-- 
Wireless Group,
McMaster University
finger.localdomain
14:10:54 up 1 day, 22:35, 2 users, load average: 0.21, 0.18, 0.11
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 17 20:35:10 2005

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.