unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* PCL-CVS, How To Merge?
@ 2003-06-19  2:05 Galen Boyer
  2003-06-19  9:46 ` Phillip Lord
  0 siblings, 1 reply; 4+ messages in thread
From: Galen Boyer @ 2003-06-19  2:05 UTC (permalink / raw)


Point is on line saying need-merge.  What is the command to make
this happen?  Whenever I hit `d E' on either a marked or unmarked
line, I get the message:

  `merge' is not applicable to any of the selected files.

-- 
Galen Boyer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCL-CVS, How To Merge?
  2003-06-19  2:05 PCL-CVS, How To Merge? Galen Boyer
@ 2003-06-19  9:46 ` Phillip Lord
  2003-06-19 14:43   ` Stefan Monnier
  2003-06-19 15:07   ` Galen Boyer
  0 siblings, 2 replies; 4+ messages in thread
From: Phillip Lord @ 2003-06-19  9:46 UTC (permalink / raw)


>>>>> "Galen" == Galen Boyer <galenboyer@hotpop.com> writes:

  Galen> Point is on line saying need-merge.  What is the command to
  Galen> make this happen?  Whenever I hit `d E' on either a marked or
  Galen> unmarked line, I get the message:

  Galen>   `merge' is not applicable to any of the selected files.

  Galen> -- Galen Boyer


You use "update", which is somewhat confusingly bound to "O". This
will result either in "merge" changing to "modified"; that is the
changes in the repository have been added to your version without
problems, or "conflict" which means CVS can't work it out, in which
case you use `vc-resolve-conflicts' on the buffer, which gives you
ediff, and lots of colours.

Phil

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCL-CVS, How To Merge?
  2003-06-19  9:46 ` Phillip Lord
@ 2003-06-19 14:43   ` Stefan Monnier
  2003-06-19 15:07   ` Galen Boyer
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2003-06-19 14:43 UTC (permalink / raw)


Galen> Point is on line saying need-merge.  What is the command to
Galen> make this happen?  Whenever I hit `d E' on either a marked or
Galen> unmarked line, I get the message:
Galen> `merge' is not applicable to any of the selected files.

In its constant efforts to keep things confusing, PCL-CVS uses
`merge' in two different ways:
- bring in pending changes from the repository.
- resolve conflicts.
`imerge' (bound to `d E') should really be called "resolve".

> You use "update", which is somewhat confusingly bound to "O". This

It's done this way to check whether people are attentive.  If after
seeing that the obvious `u' doesn't work they try `U', PCL-CVS
immediately punishes them for their lack of respect for the manual
(which badly needs improvement, of course).

> case you use `vc-resolve-conflicts' on the buffer, which gives you
> ediff, and lots of colours.

Note that `vc-resolve-conflicts' will only use the information that's
in the working file (i.e. using the conflict markers) which typically
lacks the ancestor info.  `d E' does a better job, but it does not always
work because CVS does not save the ancestor info anywhere.


        Stefan "PCL-CVS maintainer"

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PCL-CVS, How To Merge?
  2003-06-19  9:46 ` Phillip Lord
  2003-06-19 14:43   ` Stefan Monnier
@ 2003-06-19 15:07   ` Galen Boyer
  1 sibling, 0 replies; 4+ messages in thread
From: Galen Boyer @ 2003-06-19 15:07 UTC (permalink / raw)


On 19 Jun 2003, p.lord@russet.org.uk wrote:
>>>>>> "Galen" == Galen Boyer <galenboyer@hotpop.com> writes:
> 
>   Galen> Point is on line saying need-merge.  What is the
>   Galen> command to make this happen?  Whenever I hit `d E' on
>   Galen> either a marked or unmarked line, I get the message:
> 
>   Galen>   `merge' is not applicable to any of the selected
>   Galen>   files.
> 
>   Galen> -- Galen Boyer
> 
> 
> You use "update", which is somewhat confusingly bound to
> "O". This will result either in "merge" changing to "modified";
> that is the changes in the repository have been added to your
> version without problems, or "conflict" which means CVS can't
> work it out, in which case you use `vc-resolve-conflicts' on
> the buffer, which gives you ediff, and lots of colours.

Okay, I'll give that a try.

For the record (as most already know) PCL-CVS is a wonderful
package.  I am able to constantly have a very informative
conversation with CVS.

-- 
Galen Boyer

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-19 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-19  2:05 PCL-CVS, How To Merge? Galen Boyer
2003-06-19  9:46 ` Phillip Lord
2003-06-19 14:43   ` Stefan Monnier
2003-06-19 15:07   ` Galen Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).