From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: gg44060@mail.com Newsgroups: gmane.emacs.help Subject: Re: Emacs RCS ci failed Date: 24 Feb 2004 07:39:13 -0800 Organization: http://groups.google.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1077637910 31763 80.91.224.253 (24 Feb 2004 15:51:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 24 Feb 2004 15:51:50 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 24 16:51:23 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Aveq9-0004N4-00 for ; Tue, 24 Feb 2004 16:51:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1Aven5-0004x9-3S for geh-help-gnu-emacs@m.gmane.org; Tue, 24 Feb 2004 10:48:11 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: 202.88.225.118 Original-X-Trace: posting.google.com 1077637153 12686 127.0.0.1 (24 Feb 2004 15:39:13 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 24 Feb 2004 15:39:13 +0000 (UTC) Original-Xref: shelby.stanford.edu gnu.emacs.help:121191 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17141 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17141 LEE Sau Dan wrote in message news:... > >>>>> "gg44060" == gg44060 writes: > > gg44060> Hello, I am using RCS with multiple branches. When I > gg44060> make a change and try to checkin with C-x C-q, I get an > gg44060> error "ci failed". With C-x v l I see that there are > gg44060> multiple locks. How do I fix this? > > 'ci' can't guess which version you're trying to check in, because > you're holding more than one locks on that file. Try C-u C-x C-q and > see if Emacs prompts you to specify a version number to check in as. > > > gg44060> I can choose a branch manually each time I checkin, but > gg44060> that is quite tedious. > > Use the "rcs" command in a shell to remove the other locks you're > holding. Something like "rcs -u1.2.3.4 filename". Read "man rcs". > (Read also the info pages on vc. It may has support for this > operation from within Emacs. Or there may be some Emacs variables > with which you can specify the "default" branch to check into.) This is what I ended up doing. I hear the version control code is much better in Emacs 21, so I'll see how what works out. From what I saw in the info manuals, there is no support for removing locks etc in Emacs 20.7 Thanks for the help.