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

Re: Adding changeset-like functionality to subversion

From: Peter Davis <peter_at_pdavis.cx>
Date: 2002-10-08 22:57:33 CEST

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 08 October 2002 13:26, Noel Yap wrote:
> Hmm, I had thought the revisions were on a per-branch
> basis, not global.

Subversion makes no distinction between a branch and an ordinary directory.
The only distinction is the name of the directory, which is usually something
like /branches/xxx. Again, Subversion doesn't care about the name.

That means that yes, revisions are repository-global. If revisions were
branch-local, then each directory in the entire tree, not just branches,
would have to get its own revision. Or, there'd have to be some way to
configure which directories are "branch directories". That mechanism doesn't
exist.

> I don't think this should make a
> big difference so long as one can query what the
> previous and next revisions are for any given
> revision.

Just subtract or add 1 to the revision number. If you are talking about next
and previous revisions on a branch, then use something like 'svn status
- --strict http://repos/path/to/branch' (IIRC, that might be wrong).

- --
Peter Davis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9o0a9hDAgUT1yirARAmG8AJ0d197u01AWhZAzsBxifnv2ezp+gACdFD15
BxbSWEIJxL7zgq//7BYFYUM=
=0oIX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Oct 8 22:58:09 2002

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

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