You won't be able to commit it while it "Needs Merge". You'll need to
run "cvs update" to merge, or erase the file and run "cvs update" again
to get the latest from the repository. You'll then be able to edit or
overwrite your working file and commit as needed, as long as you're
still sticking to the branch you want to commit to.

 

________________________________

From: Lee Slaughter [mailto:[email protected]] 
Sent: Tuesday, August 04, 2009 12:23 PM
To: Risman, Mark
Cc: Lee Slaughter
Subject: Re: commiting a sticky file

 

Risman, Mark wrote: 

You're seeing 1.6.2.1 as your working revision because that was your
working revision before you removed that branch. It looks like you
committed something onto the old branch first, though, so you might want
to see what the differences are first (you can run cvs dif -r1.6 on your
working copy to see the differences between that revision on the old
branch and what you have now on the new branch).
  

it's a monstrous xml file so i don't want to diff it.
i just want to commit the latest working version.



 
Also keep in mind that when you remove a branch, you'll see the branch
tag disappear but all of the revisions that were on that branch are
still there.

ah, that's what i suspected.



 That's (I assume) why any new branch will have its own
number, rather than reusing the number from the deleted branch.
  

ok, then, i deduce that we're now ok?

i really appreciate all your help and sticking with me, Mark.

lee




 
-----Original Message-----
From: Lee Slaughter [mailto:[email protected]] 
Sent: Monday, August 03, 2009 6:45 PM
To: Risman, Mark
Cc: Lee Slaughter
Subject: Re: commiting a sticky file
 
Risman, Mark wrote:
 
  

        I haven't seen all of the steps you've followed, so I don't know
why
        that's not on the branch.
         
         
            

exactly. of course when you are panicked and tend to thrash.....
 
  

        To change this, you can remove the revision tag ("cvs tag -d
..") and
        create a new tag which is a branch tag ("cvs tag -b ...") for
any such
        files.
         
         
            

ok, but when i removed the tag and made the branch, i hadn't removed
the RCP_5_0_2 tag first, so when i created branch it ended up with
a funny number looking like it took off from RCP_5_0_2.
 
so i did a $cvs tag -B -d on both the branch and revision tags.
 
THEN i created the branch. so now it looks ok to me:
 
$ cvs status -v RCP.iap_xml | less
 
===================================================================
File: RCP.iap_xml Status: Needs Merge
 
Working revision: 1.6.2.1
Repository revision: 1.6 
/home/cvs/repository/rcp/tools/install_anywhere/conf/RCP.iap_xml,v
Commit Identifier: (none)
Sticky Tag: RCP_5_0_1 (branch: 1.6.4)
Sticky Date: (none)
Sticky Options: (none)
 
Existing Tags:
RCP_5_0_1 (branch: 1.6.4)
RCP_6_0_CVN (revision: 1.9)
RCP_5_0 (revision: 1.6)
RCP_4_9_2 (revision: 1.5)
RCP_4_9_1 (revision: 1.4)
RCP_4_9_0 (revision: 1.4)
 
except now it needs a merge, which isn't true since it is a config
file. so i suppose i could delete it and update -C?
 
tks.
lee
 
--------------8<--------------------
 
 
 
 
 
 
**********************************************************
 
MLB.com: Where Baseball is Always On
 
 
  

 






**********************************************************

MLB.com: Where Baseball is Always On

Reply via email to