From 4643ac7c6445aa3f853b91dfd66f69a1d9ea1db2 Mon Sep 17 00:00:00 2001 From: Andreas Roehler Date: Thu, 28 Jan 2010 16:05:22 +0100 Subject: [PATCH] commit from vc in Emacs --- code/bazaar-stuff.el | 47 +++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/code/bazaar-stuff.el b/code/bazaar-stuff.el index 8bd48fa..f9c8dd3 100644 --- a/code/bazaar-stuff.el +++ b/code/bazaar-stuff.el @@ -1,3 +1,42 @@ +* commit from vc in Emacs + +> Óscar Fuentes skrev: +>> Jan Djärv writes: +>> +>>> Maybe I'm missing something obvious, but I can't find any way of doing +>>> commit from vc in Emacs (for bzr). +>>> +>>> I did what "Doing Quick Fixes" says in BzrForEmacsDevs. I then did +>>> C-x v d ..., and then v, C-c C-c. +>>> +>>> Bzr then complains it can't do single file commits for merges +>>> (whatever that means). +>> +>> Let me guess: +>> +>> bzr merge +>> +>> bzr commit foo.c +>> +> +> No. I used vc from inside Emacs. vc did a commit according to +> .bzr-log. I never commited a single file. + +Well, I was trying to describe on terms of bzr commands what you VC did +at your request. After reading your other messages, I guess that this is +what happened: + +cd trunk +bzr merge ../other-branch + + + +As mentioned on my response to Jason, it seems that bzr does not admit a +`commit' comand with a list of files when there is a pending merge. The +solution for this is to not mark files in VC-dir, but put the point on +the `./' entry at the top and press `v' there. This commits all changes +on the current working tree, which keeps bzr happy. + * Emacs available from Launchpad too From: Lennart Borgman @@ -15,7 +54,6 @@ On Tue, Jan 26, 2010 at 10:31 PM, henry atting wrote: > but stopped, unpatiently, after 20 minutes. > Is this the only way to get the latest source? - You can get them from Launchpad too. That is faster since they have installed the bazaar fast server (or what it is called). @@ -25,10 +63,6 @@ After that updates are quick (in the trunk subdir): bzr update - - - - * merge --uncommitted On Fri, Jan 8, 2010 at 10:24, Eli Zaretskii wrote: @@ -59,6 +93,3 @@ On Fri, Jan 8, 2010 at 13:31, Eli Zaretskii wrote: Yes. Juanma - - - -- 2.11.4.GIT