You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Edward S. Marshall" <es...@logic.net> on 2002/03/07 21:40:37 UTC

subversion in the news

Subversion spotted in the news again:

http://www.newsforge.com/article.pl?sid=02/03/07/1949225

Just a few remarks from Linus about SCMs, BitKeeper, CVS, and
Subversion. The original post is archived at:

http://marc.theaimsgroup.com/?l=linux-kernel&m=101552903701385&w=2

Yet another of quite a few flamefests that have gone on about the
subject of revision control on LKML.

-- 
Edward S. Marshall <es...@logic.net>                       
http://esm.logic.net/
-------------------------------------------------------------------------------
[                  Felix qui potuit rerum cognoscere causas.            
]

Re: subversion in the news

Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Zack Weinberg <za...@codesourcery.com> writes:
> I've been thinking of writing up a design spec for distributed
> Subversion; is there interest?

Would love to read it!  Of course, probably no one can commit
implementation time at this stage, but it's good to start thinking
about this stuff...

-K

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Ben Collins <bc...@debian.org>.
On Thu, Mar 07, 2002 at 03:06:57PM -0800, Zack Weinberg wrote:
> On Thu, Mar 07, 2002 at 03:40:37PM -0600, Edward S. Marshall wrote:
> > Subversion spotted in the news again:
> 
> I don't know off hand what Linus considers inadequate about
> Subversion; however, the major missing feature I see compared to
> Bitkeeper is distributed operation, and (unlike Larry) I'm confident
> it will be easy to add that to what we already have, post-1.0.
> 
> I've been thinking of writing up a design spec for distributed
> Subversion; is there interest?

Short answer: "Hell yes"

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/       Ben Collins    --    Debian GNU/Linux    --    WatchGuard.com      \
`          bcollins@debian.org   --   Ben.Collins@watchguard.com           '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Greg Stein <gs...@lyra.org>.
On Thu, Mar 14, 2002 at 10:25:16AM -0800, Darryl Okahata wrote:
> Greg Stein <gs...@lyra.org> wrote:
> > > 0. An organization wishes to maintain read-only mirrors of its
> > >    Subversion repository.  These are either to take the load of
> > >    anonymous users off the master, or to reduce the bandwith demand of
> > >    geographically-distant users at some expense in latency.
> > 
> > Um. Why don't you just use a caching proxy for this? It is transparent to
> > the user, and drops a lot of load off the master.
> 
>      While the use of a caching proxy is pretty cool, two cases come to
> mind where caching proxies are suboptimal:
> 
> 1. Performance.  Over a slow/distant network link, it may take a while
>    to populate/update the cache.  With CVS, you can use cvsup or rsync
>    (yuk) in a nightly cron job to get a read-only mirror; this way,
>    during the day, local clients can access the read-only copy at full
>    lan speed.  With a caching proxy, the first client to hit the proxy
>    can get a big performance hit, while the cache gets populated.

Yup. You can pro-actively pull content into the cache, to help ameliorate
the initial perf hits.

But your overall point stands: the caching proxy is not a replacement for an
optimized replication process and local store.

> 2. True disconnected operation (no LAN connection whatsover of any
>    type).  Caching proxies tend to insist on having a LAN connection ....
>    ;-(  In some cases, it's very nice to have a periodically-updated,
>    read-only copy of a repository.

Yah... that would pose problems. Especially given that a caching proxy
cannot handle *all* requests to the server. It can serve up the bulk of the
content, but things like REPORT will definitely always flow through to the
server (thus, posing some latency problems). PROPFIND may or may not be
cacheable, depending upon the circumstance.


I think my point was that in a number of scenarios, a caching proxy will
help out quite a bit, and may even be a complete solution.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Zack Weinberg <za...@codesourcery.com>.
On Thu, Mar 14, 2002 at 05:16:20AM -0800, Greg Stein wrote:
> On Wed, Mar 13, 2002 at 08:43:01PM -0800, Zack Weinberg wrote:
> >...
> > The distributed-repository stuff I'm most interested in is variants on
> > your use-case #2.  But let me start with a situation you didn't
> > mention:
> > 
> > 0. An organization wishes to maintain read-only mirrors of its
> >    Subversion repository.  These are either to take the load of
> >    anonymous users off the master, or to reduce the bandwith demand of
> >    geographically-distant users at some expense in latency.
> 
> Um. Why don't you just use a caching proxy for this? It is transparent to
> the user, and drops a lot of load off the master.

I didn't think of that, coming at this from the CVS universe instead
of the HTTP universe.  However, Darryl has a point; periodically
updated static mirrors are also useful.  It does look like the DB
replication facility would be better for that than the copy operation,
though.

zw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Greg Stein <gs...@lyra.org>.
On Wed, Mar 13, 2002 at 08:43:01PM -0800, Zack Weinberg wrote:
>...
> The distributed-repository stuff I'm most interested in is variants on
> your use-case #2.  But let me start with a situation you didn't
> mention:
> 
> 0. An organization wishes to maintain read-only mirrors of its
>    Subversion repository.  These are either to take the load of
>    anonymous users off the master, or to reduce the bandwith demand of
>    geographically-distant users at some expense in latency.

Um. Why don't you just use a caching proxy for this? It is transparent to
the user, and drops a lot of load off the master.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Mirroring Subversion repository

Posted by Yoshiki Hayashi <yo...@xemacs.org>.
[Back from vacation, trying to catch up before going to
another vacation...]

Zack Weinberg <za...@codesourcery.com> writes:

> 0. An organization wishes to maintain read-only mirrors of its
>    Subversion repository.  These are either to take the load of
>    anonymous users off the master, or to reduce the bandwith demand of
>    geographically-distant users at some expense in latency.

I once had tool to maintain read-only mirror of Subversion
repository using Ruby bindings of Subversion.  It is fairly
easy to implement it.  You only need to use two editor, one
for update and one for commit, and just pipe through all
data.  And then get logs from server and reflect them on
mirror.  Subversion editor system is really cool.  Kudos to
people who designed that.

My script doesn't work right now because I've been away and
haven't been keeping Ruby bindings up to date but it's at
most a few hours work to implement it in C for those
familiar with how editors work.

BTW, mirroring tool can be used to convert Subversion
repository from old format to new format when repository
format changes.  Set up Apache server with old Subversion
and mirror them with new client.

-- 
Yoshiki Hayashi

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: Re: subversion in the news

Posted by Bill Tutt <ra...@lyra.org>.

> From: Zack Weinberg [mailto:zack@codesourcery.com]
> 
> On Thu, Mar 07, 2002 at 06:29:46PM -0500, Greg Hudson wrote:
> > On the other hand, I sent mail here a while ago with some ideas on
how
> we
> > could get cheap forms of distributed operation (basically, things
which
> > fall out of the unusual way we do branching and tagging), but it
didn't
> > generate any discussion.  It's at
> >
http://subversion.tigris.org/servlets/ReadMsg?msgId=59658&listName=dev
> 
> The distributed-repository stuff I'm most interested in is variants on
> your use-case #2.  But let me start with a situation you didn't
> mention:
> 
> 0. An organization wishes to maintain read-only mirrors of its
>    Subversion repository.  These are either to take the load of
>    anonymous users off the master, or to reduce the bandwith demand of
>    geographically-distant users at some expense in latency.
> 
> The primitive operation we need in order to support this is just your
> cross-repository "svn cp".  If I do
> 
>    svn cp http://a/proj http://b/proj
> 
> and B/proj doesn't yet exist, that establishes a mirror of A/proj at
> B/proj.  Now what happens when you repeat the operation?  Notionally,
> the current contents of A/proj replace B/proj.  Practically, we want
> to avoid having to re-transmit the entire repository.  Instead, we use
> almost the same procedure that we would for "svn update" -- the slave
> notifies the master of the most recent revision it's got, and the
> master sends only the newer revs.  It has to send svndiffs for *all*
> the newer revs, not just a combined delta, so that the slave can
> continue to be an accurate mirror.
> 
> The mirrored repository is automatically read-only.  It has to be,
> because otherwise we could get numbering conflicts between revisions
> committed on the mirror and the master.  There are two ways to
> implement that: either an attempt to do any repo-modifying operation
> fails, or it gets translated into a request against the master, which
> will fail if the mirror is out-of-date.  In the latter case, we want a
> way to force a WC-update to query the master, so that a developer
> working off a mirror is not stuck when it's out of date.
>

Err, a mirrored repository is automatically read-only sort of by
definition. It's a mirror, and thus doesn't reflect a location you can
actually edit. :) 
i.e. single authoritative source of the data, and multiple read-only
mirrors just to support the typical anonymous source code repository
usage that lots of open source projects have. Let's not worry about
anything else for a mirror.
 
> Now suppose we want real disconnected operation.  Let me start by
> talking about one way to work in the existing system.  Anyone can
> create a branch at any time; so suppose that, as a matter of project
> policy, all developers are expected to have personal branches on which
> they do development.  In fact, one person might have several personal
> branches, one per independent task they were hacking on.  While
> they're hacking, they periodically commit changes to their branch;
> those changes are visible to all, but don't affect anyone who doesn't
> explicitly go get them.  When any given chunk of work is complete, the
> developer merges from the trunk to their personal branch, resolves
> conflicts, re-tests, and merges the branch back to the trunk; at that
> point everyone gets the patch(es).
> 
> Ignoring the global-revision-number issue for the moment, notice that
> nothing happening on a personal branch can affect revisions anywhere
> else in the tree (assuming that a merge pointer is recorded in the
> child, not the parent).  Therefore, the integrity of the system is not
> compromised if commits to a private branch happen in a mirrored
> repository.  Nor can it be compromised if the branch gets pushed back
> upstream to the master repository.  The only time integrity can be
> damaged is if two direct children of the same parent node get created
> on different machines at the same time.  (direct == not branch).  So
> the semantics of "svn cp" when the target is not a subset of the
> source, can just be to augment the target with all the revisions that
> the source has and it doesn't, as long as the above invariant holds.
> 
> For the moment, let's just assume that it always holds; I want to deal
> with the global revision number first.  Obviously, all sorts of
> invariants break if a mirror's revision 1234 is not the same as its
> parent's 1234.  (There's nothing stopping a mirror being copied from
> another mirror.)  I see two different ways to deal with this problem.
> First, we could detect the situation and re-number one set of
> revisions -- presumably the mirror's.  I suspect this is impossible
> without inventing a new revision-identifying-thing which would be
> globally unique, at which point why keep the revision numbers?  Just
> use the identifying things everywhere.
> 
> That is, in fact, option 2: change the format of a revision number so
> that it is globally unique even in the face of multiple editable
> mirrors of the same tree.  This is merely difficult.  The first thing
> most people will think of is to use a string based on the time, the
> computer's hostname, etc.  This is a bad idea.  Bitkeeper tries to do
> it, and they keep having to make their "changeset keys" longer as
> collisions occur -- which forces a repository format change,
> propagated everywhere!
> 

You're right using a computer's hostname is an insanely bad idea. There
is a much simpler solution and it has a constant data size as well. Give
each repository its own GUID and expand the appropriate keys as
necessary. 

> Instead, I suggest we keep the simple sequence number but make it be
> structured.  Revisions created on the master still get a bare number,
> 1234.  The first repository to mirror the master gets assigned mirror
> number 1.  Revisions created there get a number looking like 1:23.  If
> a mirror of a mirror is created, its number is appended to its
> parent's number: 1.4.3:12 is rev 12 created on the third mirror of the
> fourth mirror of the first mirror of the master repository.  (The
> colon is to prevent people from confusing the rev number with the last
> component of the mirror number, or confusing the whole thing with one
> of RCS's branched version numbers.)
> 
> This takes up extra space, but only proportional to the depth of the
> mirror tree; in normal circumstances that tree will be quite shallow.
> 

Yeah, but it's still theoretically unbounded, and is the structure of
the replication tree really important for some other reason? I'd just
rather use a GUID as mentioned above and be done with it.

> Now that we have the version number sorted, let's go back to the
> problem of creating two children of the same node in different
> repositories.  My proposed solution is the same as Bitkeeper's: when
> we discover this has happened, one of the children gets converted into
> a branch node.  Generally it is better for the revision created higher
> up in the mirror tree to displace the one lower down.  The developer
> is notified that this has happened, and can then merge the new branch
> back onto its parent.
> 

Err, don't you mean children from the repository you're merging into are
given more priority then children from other repositories? (for
upstream, reverse the sentence if you mean downstream) Don't you only
have two candidate children for a given inter-repository merge?
i.e. the tree position is irrelavent, it just matters which repository
you're trying to merge into. The GUID mechanism exposes the possibly
graph-like nature of distributed development.

> This operation is easy to implement with Subversion.  The only trick
> is what to call the branch.  If the displaced node is itself the
> result of a merge, it should simply have its merge and parent pointers
> swapped.  Let me clarify that with a sketch: suppose I have this
> branch structure
> 
>     1 -- 2 -- 3 -- 4
>          |
>          1:1 -- 1:2
> 
> Mirror 1 is my private repository.  I've done some work in it;
> meanwhile other things have been applied to the master, and I've done
> a svn cp to pick them up.
> 
> I merge 1:2 back onto the trunk within my private tree:
> 
>     1 -- 2 -- 3 -- 4 -- 1:3
>          |            /
>          1:1 -- 1:2 --
> 
> But meantime someone else has created revision 5 as a child of 4.
> When I attempt to cp my stuff back upstream, it gets rejected.
> Instead my repository is rearranged like this:
> 
>     1 -- 2 -- 3 -- 4 -- 5
>          |           \
>          1:1 -- 1:2 -- 1:3
> 
> I have to repeat the merge operation to take into account the new rev
> 5 before my push will succeed.  Fortunately, Subversion remembers that
> 2-4 have already been merged and doesn't make me do it again.
> 
>     1 -- 2 -- 3 -- 4 -- 5 -- 1:4
>          |           \     /
>          1:1 -- 1:2 -- 1:3
> 
> 
> But what happens if I've been sloppy and worked exclusively on the
> trunk?
> 
>     1 -- 2 -- 1:1 -- 1:2
> 
> In that case I'll get a reject when I attempt to do the initial svn cp
> to acquire work in the parent.  In this case, Subversion needs to push
> everything I've done onto a brand new branch; it has no way of knowing
> what I want the branch to be called, so it should make me tell it.
> 
> $ svn cp http://<parent> file:///<my-repo>
> svn: Parent conflict between revisions 3 and 1:1.  Shift revision
> 1:1 onto a branch.
> 
> I then create the branch, effectively turning the above tree into
> 
>     1 -- 2
>          |
>          1:1 -- 1:2
> 
> and repeat the pull, which succeeds, giving me
> 
>     1 -- 2 -- 3 -- 4
>          |
>          1:1 -- 1:2
> 
> just as I had in the first example.
> 
> I'm not sure what the user interface to after-the-fact branch creation
> should be like.
> 

Yeah, this is kind of funky. Do you know how bk does this? (in terms of
UI)

There's a similar (but reverse) problem with the "svn cp <local>
<remote>" operation when you're merging changes into another repository
if you're local changes aren't on a branch. I think assuming a tree
structure for a repository replication graph is limiting. Just handling
the graph case really doesn't seem any harder from an implementation
angle. 

> One final note: the cross-repo svn cp operation is a lot of tedious
> typing.  Under normal conditions you'll be either pulling stuff down
> from a parent repo, or pushing stuff back up to the same parent.  I
> suggest the commands "svn pull" and "svn push" as shorthand for these
> two operations.
> 
> Thoughts?
>

I think distributed repository stuff overcomplicates the svn command
line interface. I'd rather see a repository browsing UI that let you
intuitively perform inter-repository actions. To make the command line
versions of "push" and "pull" simpler than the "svn cp" syntax you'd
probably want to add local friendly names of remote repositories, etc...


I honestly think the real work in the distributed space has to do with
the import/export format used to push the changesets back and forth, and
figuring out what set of data you want to pull/push. What do you do if
you just want to "svn push" a subset of the local changes you've made?
Do you let the user get away with only "svn push"ing local ChangeSetIDs
over? Or is "svn cp" the appropriate metaphor?

The schema keys that need the RepositoryID (aka GUID) added revolve
around what kind of semantics you want to expose to the user.

Do you want to allow repositories to just back each other up? 
Etc...

Defining the semantics you want to support and from there defining your
import/export format to achieve those semantics will tell you where in
the schema you need to add RepositoryIDs. 

Bill


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Zack Weinberg <za...@codesourcery.com>.
On Thu, Mar 07, 2002 at 06:29:46PM -0500, Greg Hudson wrote:
> I'm definitely curious what your vision is.  The global repository version
> number seems like a big obstacle to some forms of distributed operation.

It does cause problems.  I have an idea for how to deal with that,
though.

> On the other hand, I sent mail here a while ago with some ideas on how we
> could get cheap forms of distributed operation (basically, things which
> fall out of the unusual way we do branching and tagging), but it didn't
> generate any discussion.  It's at
> http://subversion.tigris.org/servlets/ReadMsg?msgId=59658&listName=dev

The distributed-repository stuff I'm most interested in is variants on
your use-case #2.  But let me start with a situation you didn't
mention:

0. An organization wishes to maintain read-only mirrors of its
   Subversion repository.  These are either to take the load of
   anonymous users off the master, or to reduce the bandwith demand of
   geographically-distant users at some expense in latency.

The primitive operation we need in order to support this is just your
cross-repository "svn cp".  If I do

   svn cp http://a/proj http://b/proj

and B/proj doesn't yet exist, that establishes a mirror of A/proj at
B/proj.  Now what happens when you repeat the operation?  Notionally,
the current contents of A/proj replace B/proj.  Practically, we want
to avoid having to re-transmit the entire repository.  Instead, we use
almost the same procedure that we would for "svn update" -- the slave
notifies the master of the most recent revision it's got, and the
master sends only the newer revs.  It has to send svndiffs for *all*
the newer revs, not just a combined delta, so that the slave can
continue to be an accurate mirror.

The mirrored repository is automatically read-only.  It has to be,
because otherwise we could get numbering conflicts between revisions
committed on the mirror and the master.  There are two ways to
implement that: either an attempt to do any repo-modifying operation
fails, or it gets translated into a request against the master, which
will fail if the mirror is out-of-date.  In the latter case, we want a
way to force a WC-update to query the master, so that a developer
working off a mirror is not stuck when it's out of date.

Now suppose we want real disconnected operation.  Let me start by
talking about one way to work in the existing system.  Anyone can
create a branch at any time; so suppose that, as a matter of project
policy, all developers are expected to have personal branches on which
they do development.  In fact, one person might have several personal
branches, one per independent task they were hacking on.  While
they're hacking, they periodically commit changes to their branch;
those changes are visible to all, but don't affect anyone who doesn't
explicitly go get them.  When any given chunk of work is complete, the
developer merges from the trunk to their personal branch, resolves
conflicts, re-tests, and merges the branch back to the trunk; at that
point everyone gets the patch(es).

Ignoring the global-revision-number issue for the moment, notice that
nothing happening on a personal branch can affect revisions anywhere
else in the tree (assuming that a merge pointer is recorded in the
child, not the parent).  Therefore, the integrity of the system is not
compromised if commits to a private branch happen in a mirrored
repository.  Nor can it be compromised if the branch gets pushed back
upstream to the master repository.  The only time integrity can be
damaged is if two direct children of the same parent node get created
on different machines at the same time.  (direct == not branch).  So
the semantics of "svn cp" when the target is not a subset of the
source, can just be to augment the target with all the revisions that
the source has and it doesn't, as long as the above invariant holds.

For the moment, let's just assume that it always holds; I want to deal
with the global revision number first.  Obviously, all sorts of
invariants break if a mirror's revision 1234 is not the same as its
parent's 1234.  (There's nothing stopping a mirror being copied from
another mirror.)  I see two different ways to deal with this problem.
First, we could detect the situation and re-number one set of
revisions -- presumably the mirror's.  I suspect this is impossible
without inventing a new revision-identifying-thing which would be
globally unique, at which point why keep the revision numbers?  Just
use the identifying things everywhere.

That is, in fact, option 2: change the format of a revision number so
that it is globally unique even in the face of multiple editable
mirrors of the same tree.  This is merely difficult.  The first thing
most people will think of is to use a string based on the time, the
computer's hostname, etc.  This is a bad idea.  Bitkeeper tries to do
it, and they keep having to make their "changeset keys" longer as
collisions occur -- which forces a repository format change,
propagated everywhere!

Instead, I suggest we keep the simple sequence number but make it be
structured.  Revisions created on the master still get a bare number,
1234.  The first repository to mirror the master gets assigned mirror
number 1.  Revisions created there get a number looking like 1:23.  If
a mirror of a mirror is created, its number is appended to its
parent's number: 1.4.3:12 is rev 12 created on the third mirror of the
fourth mirror of the first mirror of the master repository.  (The
colon is to prevent people from confusing the rev number with the last
component of the mirror number, or confusing the whole thing with one
of RCS's branched version numbers.)

This takes up extra space, but only proportional to the depth of the
mirror tree; in normal circumstances that tree will be quite shallow.

Now that we have the version number sorted, let's go back to the
problem of creating two children of the same node in different
repositories.  My proposed solution is the same as Bitkeeper's: when
we discover this has happened, one of the children gets converted into
a branch node.  Generally it is better for the revision created higher
up in the mirror tree to displace the one lower down.  The developer
is notified that this has happened, and can then merge the new branch
back onto its parent.

This operation is easy to implement with Subversion.  The only trick
is what to call the branch.  If the displaced node is itself the
result of a merge, it should simply have its merge and parent pointers
swapped.  Let me clarify that with a sketch: suppose I have this
branch structure

    1 -- 2 -- 3 -- 4
         |
         1:1 -- 1:2

Mirror 1 is my private repository.  I've done some work in it;
meanwhile other things have been applied to the master, and I've done
a svn cp to pick them up.

I merge 1:2 back onto the trunk within my private tree:

    1 -- 2 -- 3 -- 4 -- 1:3
         |            /
         1:1 -- 1:2 --

But meantime someone else has created revision 5 as a child of 4.
When I attempt to cp my stuff back upstream, it gets rejected.
Instead my repository is rearranged like this:

    1 -- 2 -- 3 -- 4 -- 5
         |           \
         1:1 -- 1:2 -- 1:3

I have to repeat the merge operation to take into account the new rev
5 before my push will succeed.  Fortunately, Subversion remembers that
2-4 have already been merged and doesn't make me do it again.

    1 -- 2 -- 3 -- 4 -- 5 -- 1:4
         |           \     /
         1:1 -- 1:2 -- 1:3


But what happens if I've been sloppy and worked exclusively on the
trunk?  

    1 -- 2 -- 1:1 -- 1:2

In that case I'll get a reject when I attempt to do the initial svn cp
to acquire work in the parent.  In this case, Subversion needs to push
everything I've done onto a brand new branch; it has no way of knowing
what I want the branch to be called, so it should make me tell it.

$ svn cp http://<parent> file:///<my-repo>
svn: Parent conflict between revisions 3 and 1:1.  Shift revision
1:1 onto a branch.

I then create the branch, effectively turning the above tree into

    1 -- 2
         |
         1:1 -- 1:2

and repeat the pull, which succeeds, giving me

    1 -- 2 -- 3 -- 4
         |
         1:1 -- 1:2

just as I had in the first example.

I'm not sure what the user interface to after-the-fact branch creation
should be like.

One final note: the cross-repo svn cp operation is a lot of tedious
typing.  Under normal conditions you'll be either pulling stuff down
from a parent repo, or pushing stuff back up to the same parent.  I
suggest the commands "svn pull" and "svn push" as shorthand for these
two operations.

Thoughts?

zw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Sean Russell <se...@germane-software.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thursday 07 March 2002 15:29, you wrote:
> Bitkeeper is better off for supporting those requirements; I think it
> makes the system overall more complicated and harder to use to have so
> many different modes of operation.

And, as Jeff Raskin will tell you, modes are Bad for user interfaces.  Not 
that Jeff is god, but I agree with him on this point.

> I'm definitely curious what your vision is.  The global repository version
> number seems like a big obstacle to some forms of distributed operation.

Yah, that would be a problem.  All of the other arguments against global 
repository versions that I've seen have been without strong /technical/ 
merit, but if using global repository versions actually /prevents/ subversion 
from providing some useful behavior, that would be a compelling reason to 
change the versioning mechanism.  Or is the versioning so locked into the 
fundamental core of SVN by now that we're seeing legacy problems already 
(before the 1.0 release :-).

- --- SER
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8iAoqURPYGmmGtGcRAqg6AJ9oIOsjnudeb+cVQBqXE4U8XaUZqwCggN7F
AC/EIp3w/Lm6A66jEn40Qn0=
=o/iy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Greg Hudson <gh...@MIT.EDU>.
On Thu, 7 Mar 2002, Zack Weinberg wrote:
> I don't know off hand what Linus considers inadequate about
> Subversion

Linus has a lot of weird requirements.  To be honest, I don't think
Bitkeeper is better off for supporting those requirements; I think it
makes the system overall more complicated and harder to use to have so
many different modes of operation.

> I've been thinking of writing up a design spec for distributed
> Subversion; is there interest?

I'm definitely curious what your vision is.  The global repository version
number seems like a big obstacle to some forms of distributed operation.

On the other hand, I sent mail here a while ago with some ideas on how we
could get cheap forms of distributed operation (basically, things which
fall out of the unusual way we do branching and tagging), but it didn't
generate any discussion.  It's at
http://subversion.tigris.org/servlets/ReadMsg?msgId=59658&listName=dev


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: subversion in the news

Posted by Zack Weinberg <za...@codesourcery.com>.
On Thu, Mar 07, 2002 at 03:40:37PM -0600, Edward S. Marshall wrote:
> Subversion spotted in the news again:

I don't know off hand what Linus considers inadequate about
Subversion; however, the major missing feature I see compared to
Bitkeeper is distributed operation, and (unlike Larry) I'm confident
it will be easy to add that to what we already have, post-1.0.

I've been thinking of writing up a design spec for distributed
Subversion; is there interest?

zw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org