Re: ECLIPSE: cvs [update aborted]: could not find desired version



compaqr4000@xxxxxxxxx wrote:
That didn't work, I get the same error when I try to update it.
However, it did set me on the path of something that did work.

I replaced my local file with the latest from cvs head, and then
replaced it with Previous from Local History. By doing this, it
assigned a newer cvs version to my local file and I can compare to
cvs, commit, etc.

Lew wrote:
Kay, you showed some of the highest skills of the effective programmer just there.

Let me add that this is a case of Eclipse's internal "shadow" file structure, including its private version history, being part of the equation.

For those not using Eclipse, one could get a similar result by copying the changed version out of a directory, refreshing from CVS HEAD the way Kay did, then copying or merging (the latter being more careful) the revised version into the freshly CVS-updated one.

Any time you find yourself dodging CVS this way, something went awry earlier. Usually it's possible to bail out the first way I explained, using CVS to merge the HEAD version into the local copy. But now that I think on it, I have always used command-line 'cvs', not an IDE-mediated version, to make this work.

The Cederqvist manual is essential whenever you start digging underneath with CVS.
<http://ximbiot.com/cvs/manual/>

It's amazing what you can make CVS do if you dig through that manual, especially the "Administrative Files" section.
<http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_18.html#SEC176>

--
Lew
.



Relevant Pages

  • Re: ECLIPSE: cvs [update aborted]: could not find desired version
    ... I replaced my local file with the latest from cvs head, ... Rather than giving up because the recipe failed, you went deep, understood the principle and found another place where it applied, this time usefully. ...
    (comp.lang.java.softwaretools)
  • Re: ECLIPSE: cvs [update aborted]: could not find desired version
    ... Whenever I try to do a cvs update in Eclipse I get the ... I replaced my local file with the latest from cvs head, ...
    (comp.lang.java.softwaretools)
  • Re: Newbie CVS question
    ... > I believe cvs must check cvs/Entries file to decide if must update a file ... > from cvs server to local or not. ...
    (comp.unix.programmer)
  • Newbie CVS question
    ... I know that I am off-topic but I have not found a *CVS* newsgroup and I ask ... nVidia says that to update NVSDK run these commands: ... from cvs server to local or not. ...
    (comp.unix.programmer)
  • Re: [Cerb-list] CerbNG v1.0-RC2 is now avaliable!
    ... may i suggest to always include the CVS tag of any ... Could you please send any compilation output on cerb mailing list? ... from CVS head branch does. ...
    (FreeBSD-Security)