[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: commit to branch

From: Larry Jones
Subject: Re: commit to branch
Date: Tue, 20 Mar 2001 11:34:20 -0500 (EST)

Martin Entlicher writes:
> Can please someone explain to me when commit to a branch is supposed to
> work ?

I believe the only time that's valid is with a newly-added file or if
the existing file is already the most recent revision on the branch (in
which case there's no point in specifying the branch explicitly).

> I have a file on the main trunk with Up-to-date status and want to
> commit the *same* file to a branch.

Then merge it.  In a working directory on the branch, do:

        cvs up -j HEAD
        cvs ci -m "message"

-Larry Jones

He just doesn't want to face up to the fact that I'll be
the life of every party. -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]