bug-cvs
[Top][All Lists]
Advanced

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

Re: Getting new directories on trunk-to-branch merge.


From: Derek Robert Price
Subject: Re: Getting new directories on trunk-to-branch merge.
Date: Fri, 02 Aug 2002 12:37:13 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606

James Hughes wrote:

Derek Robert Price wrote:

James Hughes wrote:

Hi,

If I'm doing a merge, say, from trunk to branch, and new directories have been created on the trunk since the branch was made, is there a way to get those directories on the branch as well? I've tried "cvs up -d -j HEAD", but that didn't work; this implies to me that I have to re-add and re-commit the directories in order for branch and trunk to align. Is this correct?


Does `cvs -f up -djHEAD' work?


No. '-d' only works if the directories already exist on the branch. Creating and then doing 'cvs add' on the directories in question (on the branch) caused the directory contents to be pulled on update. From there , a commit on the branch, and everything lined up.

Thanks,

James


Are you sure you passed the `-f' argument I mentioned above to tell CVS not to read your `.cvsrc' file?

CVS has no concept of directories being on or off of a branch. Only that they exist. `-d' should have been sufficient to pull even directories that check out empty unless `-P' (prune empty directories) was specified in your `.cvsrc', in a wrapper script, or whereever.

Derek

--
               *8^)

Email: address@hidden
Public key available from www.keyserver.net - Key ID 5ECF1609
Fingerprint 511D DCD9 04CE 48A9 CC07  A421 BFBF 5CC2 56A6 AB0E

Get CVS support at http://ximbiot.com
--
73. ASCII a stupid question, get a stupid ANSI!






reply via email to

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