You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Mats Nilsson <ma...@xware.se> on 2002/10/31 15:10:10 UTC
rcs2svn?
We've got an RCS (actually MKS SI) repository. I can convert the repository
files into vanilla RCS and the cvs2svn will do the right thing for the main
line (from looking at the dry run output, anyway).
Now, there are branches/release lines in the repos, and I'm starting to
think about how to import them.
Where CVS has branch labels, RCS has nothing. Except maybe that
organisations keep a policy a policy to apply a project wide labels at
branch points. As long as there is at most one branch from each label,
shouldn't this be enough information to be able to treat the RCS label as a
[CVS] branch label as well?
In this case, this would make a nice addition to cvs2svn that might work
for most RCS based systems.
If this is not feasible, then MKS SI also keeps additional metadata about
development lines in separate files, but I'd rather not go there.
What do you think?
Mats
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
RE: rcs2svn?
Posted by Mats Nilsson <ma...@xware.se>.
Karl Fogel [mailto:kfogel@newton.ch.collab.net]:
> ? Are RCS branch labels different from CVS branch labels? I thought
> they were the same thing, and even implemented in exactly the same way
> in the repository.
Vanilla RCS doesn't have labels on branches, only labels on file revisions.
But, labels are represented the same way in the repository.
When you make a CVS branch, cvs assigns a meta label to a non-existing
revision. Its purpose is to identify the branch, and to identify the next to
last version component of file revisions on the branch.
foo.c
|
1.1
|
1.2 'cvs rtag -b BRANCHLABEL'
| \ BRANCHLABEL -> 1.2.0.2, where the last version component
| \ refers to the third component in the revision version numbers.
| 1.2.2.1
1.3 |
|
Thus, you can have multiple branches off of the same point. Each gets a
branch label. For instance, BRANCH_2 -> 1.2.0.4, with actual revisions in
the 1.2.4.x series.
RCS on the other hand has no automatic way of keeping track of alternative
branches off the same branch point.
In this case, the first revision on any branch would be 1.2.1.1. If several
branches would start from 1.2, there would be no way of telling to which
branch the 1.2.1.1 revision belongs.
I realize sorting out the revisions will be difficult. Got to do more
thinking about this.
Mats
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: rcs2svn?
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Mats Nilsson <ma...@xware.se> writes:
> Where CVS has branch labels, RCS has nothing. Except maybe that
> organisations keep a policy a policy to apply a project wide labels at
> branch points. As long as there is at most one branch from each label,
> shouldn't this be enough information to be able to treat the RCS label
> as a [CVS] branch label as well?
? Are RCS branch labels different from CVS branch labels? I thought
they were the same thing, and even implemented in exactly the same way
in the repository.
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org