[M3devel] I need CVS help again
Jay
jayk123 at hotmail.com
Sat Jan 12 03:47:50 CET 2008
[tangent as usual :)]
I find the CVS usage model "ok", but I would like a choice of another one.
I would like to know there is a conflict before it changes any of my files, or AT LEAST the ones with conflicts.
And then I want to easily browse the conflicting changes, possibly applying them manually locally, so that CVS can do the merge automatically.
In Perforce the way this works is it goes ahead and changes all the files with no merging at all to be done and then you have several choices for the merges and conflicts. You can accept the automatic ones, reviewing them or not before accepting them. For conflicts you can accept theirs or yours or bring up an editor with something like what CVS does, but you can also put it off a bit -- but can't commit (submit) before resolving. A missing or unclear thing though is if you can have it accept automatic merges within a file where possible, and then yours/theirs on the conflicts.
Duh I just had a really obvious epiphany finally. I need to try out TortoiseCVS and its nearest competing Mac and Linux analogs. That'll probably make me much more satisified. :)
(Reminder to any other folks to try the GUIs if they aren't experts with the command line.)
TortoiseSVN has been nice to use for example.
- Jay
> Date: Sat, 12 Jan 2008 01:22:16 +0100> From: wagner at elegosoft.com> To: m3devel at elegosoft.com> Subject: Re: [M3devel] I need CVS help again> > Quoting "Rodney M. Bates" <rodney.bates at wichita.edu>:> > > I have gotten myself into this jam before, as a result of trying to> > develop/test on more than one local machine with more than one M3> > installation. I have more questions on how to figure out what happened> > and how to fix it.> >> > I did a cvs update when, I guess, I had local uncommitted edits.> > I got messages saying that changes were being merged and there were> > conflicts. For example, I now have local files named:> >> > .#m3-eval.c.1.12> > m3-eval.c> >> > and in CVS/Entries, the line:> >> > /m3-eval.c/1.14/Result of merge...> >> > Have I correctly surmised that this all means> >> > 1) prior to the update, CVS/Entries would have said:> >> > /m3-eval/c/1.12...> >> > meaning 1.12 was the last version cvs knew I had,> >> > 2) But my local m3-eval.c had local changes relative to 1.12,> >> > 3) And .#m3-eval.c.1.12 is a copy of that locally changed> > m3-eval.c, as it was prior to the cvs update,> > Yes, this should be your original file.> > > 4) The latest version cvs has in its repository is 1.14, and> > Yes.> > > 5) My current local m3-eval.c was generated by merging version> > 1.14 from the repository with what is now in .#m3-eval.c.1.12?> > Yes.> You should simply find the comflicts in m3-eval.c by looking for> lines with <<<< and ===== and >>>>.> Often they are easy to edit manually.> > > Is there a simple way to get cvs to diff between its stored> > version 1.12 and my .#m3-eval.1.12?> > You can checkout any version into your workspace and compare locally:> > cvs up -p -r 1.12 m3-eval.c > m3-eval.c.1.12> cvs up -p -r 1.14 m3-eval.c > m3-eval.c.1.14> > diff -u .m3-eval.c.1.12 \#m3-eval.1.12> ...> > HTH,> > Olaf> -- > Olaf Wagner -- elego Software Solutions GmbH> Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany> phone: +49 30 23 45 86 96 mobile: +49 177 2345 869 fax: +49 30 23 45 86 95> http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin> Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194>
_________________________________________________________________
Watch “Cause Effect,” a show about real people making a real difference.
http://im.live.com/Messenger/IM/MTV/?source=text_watchcause
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080112/4ba779b4/attachment-0002.html>
More information about the M3devel
mailing list