Re: Branch gets manufactured by multiple commits?

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
On 09/23/2010 06:51 PM, Jamma Tino Schwarze wrote:
> I've found a branch which get's manufactured by multiple commits instead
> of one which collects all neccessary revisions. Is this expected
> behaviour for cvs2svn 2.3.0 or a possible bug?

This is expected (and required) behavior, since a CVS branch can have
changes on it that predate other file revisions that were added to the
branch later; e.g.,

create file1 on trunk
add file1 to branch
modify file1 on branch
create file2 on trunk
add file2 to branch

Assuming that a significant amount of time elapses between each of these
steps, there is no way to create the branch in a single step.

> I found as much as 5 separate commits (rev 82356, 88389, 111647, 111943
> and 111959 distributed over more than 1 year of commit date) for a
> single branch, all labeled
> "This commit was manufactured by cvs2svn to create branch
> 'xxx'."

Yes, the generated commit message is misleading.  Only the first commit
"create"s the branch; the later commits add more files to the
already-existing branch.

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2663840

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.