unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Goldman <rpgoldman@sift.info>
To: Glenn Morris <rgm@gnu.org>
Cc: 14242@debbugs.gnu.org
Subject: bug#14242: vc-next-action with registered file [VC-mode with subversion 1.7.8]
Date: Mon, 22 Apr 2013 13:46:27 -0500	[thread overview]
Message-ID: <51758583.1070601@sift.info> (raw)
In-Reply-To: <c5txmya4rx.fsf@fencepost.gnu.org>

Glenn Morris wrote:
> David Reitter wrote:
> 
>>> ... but using vc-mode on nightlies with subversion repositories, I am
>>> getting an odd behavior where ^X-V-V (vc-next-action) on a registered
>>> file gives me an error message that the file is already registered.
> 
> Not reproducible on GNU/Linux with Emacs 24.3 and svn 1.7.9.
> 
>>> It looks to me like "svn status -v" with this version of subversion may
>>> generate something that vc-svn doesn't expect:
>>>
>>> [rpgoldman-3:~/org] rpg% svn status -v notes.org
>>>             21567    21567 rpgoldman    notes.org
>>> [rpgoldman-3:~/org] rpg% svn status notes.org
> 
> Looks totally normal to me. What's supposed to be odd?
> 
>>> GNU Emacs 24.3.50.3 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36)
>>> of 2013-04-04 on asura.local - Aquamacs Distribution 3.xdev

The former shows what happens with -v which is, IIUC, how the latest
vc-svn invokes it.  The latter (empty) is what happens without -v.  I
thought I was seeing vc-svn failing to parse the verbose output with the
cryptic numbers, and mistakenly concluding that the file was not registered.

I am not seeing this 100% of the time, either.

But I just saw a related thing happening:  VC-mode accepted a commit
from me where there was no actual change in the file (the commit did not
go through to the svn repo).  Here before trying vc-next-action, I
checked svn status:

[rpgoldman-3:~/org] rpg% svn status -v todo.org
             21586    21586 rpgoldman    todo.org
[rpgoldman-3:~/org] rpg% svn status todo.org
[rpgoldman-3:~/org] rpg%

I *conjecture* that the fact that there was output from svn status is
what led vc-svn to think there was a modification and present me with
the log window to make a commit.

I confess to not understanding the innards of vc-svn that well...





  parent reply	other threads:[~2013-04-22 18:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <51746AC8.1090903@sift.info>
2013-04-22 15:46 ` bug#14242: vc-next-action with registered file [VC-mode with subversion 1.7.8] David Reitter
2013-04-22 16:50   ` Glenn Morris
2013-04-22 17:03     ` Glenn Morris
2013-04-22 18:02       ` Glenn Morris
2013-04-22 18:46     ` Robert Goldman [this message]
2013-04-22 18:56       ` Glenn Morris
2013-04-22 19:09         ` Robert Goldman
2013-04-22 21:46           ` Glenn Morris
2015-12-25 23:27             ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=51758583.1070601@sift.info \
    --to=rpgoldman@sift.info \
    --cc=14242@debbugs.gnu.org \
    --cc=rgm@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 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).