all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: albemarle <neshatian@gmail.com>
To: 9123@debbugs.gnu.org
Subject: bug#9123: bug/misbehaviour in vc-next action when stealing locks
Date: Tue, 19 Jul 2011 01:09:46 -0700 (PDT)	[thread overview]
Message-ID: <32089101.post@talk.nabble.com> (raw)


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.






             reply	other threads:[~2011-07-19  8:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19  8:09 albemarle [this message]
2011-08-10 21:13 ` bug#9123: bug/misbehaviour in vc-next action when stealing locks Glenn Morris
2011-08-11  6:43   ` Kourosh Neshatian
     [not found]     ` <CAEZCCWQU=hcVd0LTX9+=RLbZou2j4YsqQYAAWyngA9bwLEJC8g@mail.gmail.com>
2011-09-06  0:55       ` Glenn Morris
2014-02-03 23:51         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=32089101.post@talk.nabble.com \
    --to=neshatian@gmail.com \
    --cc=9123@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.