[Top][All Lists]

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

(no subject)

From: Josh Baudhuin
Subject: (no subject)
Date: Fri, 15 Dec 2000 11:22:42 -0800 (PST)

>Submitter-Id:   net
>Originator:     Josh Baudhuin
>Confidential:  yes
>Synopsis:      update -kk across multiple dirs drops -kk after a few dirs
>Severity:      non-critical
>Priority:      medium
>Category:      cvs
>Class:         sw-bug
>Release:       cvs-1.11
System: SunOS cct104 5.7 Generic_106541-07 sun4u sparc SUNW,Ultra-80
Architecture: sun4


 * I have a directory hierarchy foo/src/{adir,bdir,cdir,...} under cvs
control. (There are 65 subdirs underneath foo/src.)

 * The archive files have a main trunk and a branch, with a
"last-merge" label applied on revisions in the branch.

 * The files are generally -kkv, with the occasional -kb (the
latter kept sticky through use of the CVSROOT/wrappers controls). 

1) I recently tried to do an incremental merge en masse:

        % cd foo/src
        % cvs update -jBRANCH-last-merge -jBRANCH -kk

2) While dealing with the merge-conflicts, I noticed that at about the
8th subdirectory, the -kk sticky option was no longer being applied!
   Those files appear to have been updated -kk (i.e., no keyword
expansion). When I examined the CVS/Entries files in subdirs
{a,b,c,d,e,f,g}dir/, the .../-kk/ is there, but once I hit  hdir/  the 
update commandline option -kk was no longer being stuck. None of the
subsequent subdirectories had the -kk either. 
   (As indicated in the Cederkvist manual, using -kk is useful to
avoid spurious, keyword-related merge conflicts. If the option isn't
entered into the Entries file--i.e., not sticky--spurious differences
is exactly what you get, which makes the conflict resolution painful.)


I haven't had time to look into this. Here are a couple of things
noteworthy about the directory in question, either one which may have
some impact...


By way of workaround, I wasn't able address the problem for the
above-noted directory, but I split the update invokations thus:

        % foreach dir (^*CVS)   # ^*CVS is a tcsh-ism for all-but-"CVS"
        ? cvs update -jBRANCH-last-merge -jBRANCH -kk $dir
        ? end

The said directory still did not have sticky -kk, but the prior and
subsequent ones did have the sticky option. I didn't attempt to edit
the Entries file manually (to stick -kk in it) for the offending

Hope this all makes sense...

reply via email to

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