unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-revision-other-window gets wrong file
@ 2008-02-22 17:27 Chris Moore
  2008-02-23  1:11 ` Dan Nicolaescu
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Moore @ 2008-02-22 17:27 UTC (permalink / raw)
  To: emacs-pretest-bug

Visit a source controlled file.
Type "C-x v ~ RET".
VC will show you the 'working revision' of that file.
Visit a different source controlled file.
Type "C-x v ~ RET"
VC will show you the same 'working revision' as before - of the first file.
Kill that working revision buffer.
"C-x v ~ RET" will bring it back again.
Kill the first source controlled file's buffer.
"C-x v ~ RET" will now fetch the correct working revision.

This happens even across revision control systems.  I had run C-x v ~
hours ago on a git-controlled sourc file,
then just now ran it again on a svn controlled file, and it showed me
the git-controlled file from this morning.

This is in a version of the Emacs CVS trunk built on 19-Feb.




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

* Re: vc-revision-other-window gets wrong file
  2008-02-22 17:27 vc-revision-other-window gets wrong file Chris Moore
@ 2008-02-23  1:11 ` Dan Nicolaescu
  2008-02-23  1:44   ` Chris Moore
  0 siblings, 1 reply; 3+ messages in thread
From: Dan Nicolaescu @ 2008-02-23  1:11 UTC (permalink / raw)
  To: Chris Moore; +Cc: emacs-pretest-bug

"Chris Moore" <christopher.ian.moore@gmail.com> writes:

  > Visit a source controlled file.
  > Type "C-x v ~ RET".
  > VC will show you the 'working revision' of that file.
  > Visit a different source controlled file.
  > Type "C-x v ~ RET"
  > VC will show you the same 'working revision' as before - of the first file.
  > Kill that working revision buffer.
  > "C-x v ~ RET" will bring it back again.
  > Kill the first source controlled file's buffer.
  > "C-x v ~ RET" will now fetch the correct working revision.
  > 
  > This happens even across revision control systems.  I had run C-x v ~
  > hours ago on a git-controlled sourc file,
  > then just now ran it again on a svn controlled file, and it showed me
  > the git-controlled file from this morning.
  > 
  > This is in a version of the Emacs CVS trunk built on 19-Feb.

Thanks, I have a fix for this. I will check it in later today.




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

* Re: vc-revision-other-window gets wrong file
  2008-02-23  1:11 ` Dan Nicolaescu
@ 2008-02-23  1:44   ` Chris Moore
  0 siblings, 0 replies; 3+ messages in thread
From: Chris Moore @ 2008-02-23  1:44 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-pretest-bug

On Sat, Feb 23, 2008 at 2:11 AM, Dan Nicolaescu <dann@ics.uci.edu> wrote:
>  Thanks, I have a fix for this. I will check it in later today.

I've been seeing various other strange things from VC today.  I'll
wait and see if your fix affects them before writing up test cases.




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

end of thread, other threads:[~2008-02-23  1:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-22 17:27 vc-revision-other-window gets wrong file Chris Moore
2008-02-23  1:11 ` Dan Nicolaescu
2008-02-23  1:44   ` Chris Moore

Code repositories for project(s) associated with this public inbox

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

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).