From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: albemarle Newsgroups: gmane.emacs.bugs Subject: bug#9123: bug/misbehaviour in vc-next action when stealing locks Date: Tue, 19 Jul 2011 01:09:46 -0700 (PDT) Message-ID: <32089101.post@talk.nabble.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1311096954 31844 80.91.229.12 (19 Jul 2011 17:35:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 19 Jul 2011 17:35:54 +0000 (UTC) To: 9123@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 19 19:35:49 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QjECy-0002Ry-49 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jul 2011 19:35:48 +0200 Original-Received: from localhost ([::1]:55948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjECx-000335-35 for geb-bug-gnu-emacs@m.gmane.org; Tue, 19 Jul 2011 13:35:47 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:59516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjDHE-0004zk-Mf for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 12:36:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QjDHA-0001UO-3G for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 12:36:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjDH9-0001UI-Sk for bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 12:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QjDH8-0001md-Me; Tue, 19 Jul 2011 12:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: albemarle Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Jul 2011 16:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9123 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13110933366819 (code B ref -1); Tue, 19 Jul 2011 16:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jul 2011 16:35:36 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QjDGe-0001lp-81 for submit@debbugs.gnu.org; Tue, 19 Jul 2011 12:35:36 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qj5Nh-0003p9-UB for submit@debbugs.gnu.org; Tue, 19 Jul 2011 04:10:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qj5NV-0007CA-SM for submit@debbugs.gnu.org; Tue, 19 Jul 2011 04:10:11 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:59024) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj5NV-0007B9-MC for submit@debbugs.gnu.org; Tue, 19 Jul 2011 04:10:05 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj5NQ-0001PX-Ms for Bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 04:10:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qj5NJ-00079H-RX for Bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 04:10:00 -0400 Original-Received: from sam.nabble.com ([216.139.236.26]:39016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj5NJ-00078H-C6 for Bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 04:09:53 -0400 Original-Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qj5NC-0008CW-1e for Bug-gnu-emacs@gnu.org; Tue, 19 Jul 2011 01:09:46 -0700 X-Nabble-From: neshatian@gmail.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Tue, 19 Jul 2011 12:35:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 19 Jul 2011 12:36:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:49443 Archived-At: The following seems like a bug or msibehaviour to me. Context: -------- Alice checks out (locks) file 'text'. The back-end is RCS. Bob checkout the same file; he steals the lock. Alice has made some changes. She saves the file and now wants to check in. She presses C-x v v and is asked if she wants to steal the lock. She says 'yes'. What happens: -------------- All her changes are lost and she is back to an unchanged (last revision) of the file. Expected: ---------- A warning saying that she is going to lose all her changes OR at least some way of getting those changes back (e.g. undo). None is available at the moment. Note that Alice initiated 'vc-next-action' with the intention of 'check-in' but she ended up having a 'check-out' that overwrote her file. Feedback welcome. A. -- View this message in context: http://old.nabble.com/bug-misbehaviour-in-vc-next-action-when-stealing-locks-tp32089101p32089101.html Sent from the Emacs - Bugs mailing list archive at Nabble.com.