GNU bug report logs -
#14242
vc-next-action with registered file [VC-mode with subversion 1.7.8]
Previous Next
Reported by: Robert Goldman <rpgoldman <at> sift.info>
Date: Mon, 22 Apr 2013 15:52:01 UTC
Severity: normal
Tags: moreinfo, unreproducible
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14242 in the body.
You can then email your comments to 14242 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
rpgoldman <at> sift.info, bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 15:52:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Robert Goldman <rpgoldman <at> sift.info>
:
New bug report received and forwarded. Copy sent to
rpgoldman <at> sift.info, bug-gnu-emacs <at> gnu.org
.
(Mon, 22 Apr 2013 15:52:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
X-Debbugs-CC: Robert Goldman <rpgoldman <at> sift.info>
Begin forwarded message:
> From: Robert Goldman <rpgoldman <at> sift.info>
> Subject: [aquamacs-devel] I'm not sure this is a bug.... [VC-mode with subversion 1.7.8]
> Date: April 21, 2013 6:40:08 PM EDT
> To: Development of Aquamacs Emacs <aquamacs-devel <at> aquamacs.org>
> Reply-To: aquamacs-devel <at> googlegroups.com
>
> ... 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.
>
> I have looked into this, and it seems like what's happening is that
> emacs mistakenly thinks the file is not registered, so decides the next
> action is to register the file. Then, when it attempts to do so
> (presumably with "svn add"), it gets an error message.
>
> If I do vc-next-action again, immediately following the one that yielded
> an error, then I can correctly make a commit.
>
> As an example, here's what happens if I trace vc-deduce-fileset:
>
> 1 -> (vc-deduce-fileset nil t state-model-only-files)
> 1 <- vc-deduce-fileset: (SVN (#1="/Users/rpg/org/notes.org") (#1#)
> unregistered implicit)
>
> You will see that it believes the file to be unregistered (at least
> that's what I guess this means).
>
> When I invoke vc-next-action again on the same file, I see this:
>
> 1 -> (vc-deduce-fileset nil t state-model-only-files)
> 1 <- vc-deduce-fileset: (SVN (#1="/Users/rpg/org/notes.org") (#1#)
> edited implicit)
>
> Anyone else seeing this?
>
> svn version 1.7.8 from MacPorts.
>
> 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
> [rpgoldman-3:~/org]
>
> 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
>
> [yeah, time to pull a newer nightly...]
>
> Best,
> r
>
>
> --
> You received this message because you are subscribed to the Google Groups "aquamacs-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to aquamacs-devel+unsubscribe <at> googlegroups.com.
>
>
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 16:56:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 14242 <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 17:09:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 14242 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris wrote:
> Not reproducible on GNU/Linux with Emacs 24.3 and svn 1.7.9.
Oh, but maybe with trunk.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 18:08:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 14242 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris wrote:
> Glenn Morris wrote:
>
>> Not reproducible on GNU/Linux with Emacs 24.3 and svn 1.7.9.
>
> Oh, but maybe with trunk.
Thought I saw it once while testing, can't reproduce it now.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 18:57:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 14242 <at> debbugs.gnu.org (full text, mbox):
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...
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 19:02:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 14242 <at> debbugs.gnu.org (full text, mbox):
Robert Goldman wrote:
> [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%
Again, this is totally normally svn status output that vc-svn.el has
always handled.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 20:45:03 GMT)
Full text and
rfc822 format available.
Message #23 received at 14242 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris wrote:
> Robert Goldman wrote:
>
>> [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%
>
> Again, this is totally normally svn status output that vc-svn.el has
> always handled.
Thanks. Question: isn't the stuff from my trace of vc-svn wrong? I.e., do we agree that vc-svn is incorrectly seeing a file that's unregistered? If that's the case, I can try to zero in on why I'm getting these bad results, and provide you some more useful feedback.
Also, is there some way I can examine the copy of vc-svn.el that I have to make sure that you and I are talking about the same thing?
Thanks for your time.
Best,
Robert
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Mon, 22 Apr 2013 21:51:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 14242 <at> debbugs.gnu.org (full text, mbox):
(Please keep the debbugs address cc'd)
Robert Goldman wrote:
> Thanks. Question: isn't the stuff from my trace of vc-svn wrong? I.e.,
> do we agree that vc-svn is incorrectly seeing a file that's
> unregistered? If that's the case, I can try to zero in on why I'm
> getting these bad results, and provide you some more useful feedback.
It certainly sounds like Emacs is getting the svn status of the file
wrong. This may or may not be due to a problem parsing the output of the
"svn status" external command. Eg it could be due to us not calling "svn
status"; http://debbugs.gnu.org/7850 comes to mind.
The most helpful thing is of course a recipe to reliably reproduce the problem.
Failing that, you might try edebugging vc-next-action to see why it gets
"state" wrong.
> Also, is there some way I can examine the copy of vc-svn.el that I
> have to make sure that you and I are talking about the same thing?
I'm using the one in the current Emacs trunk. You can use locate-library
or somesuch to find yours.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14242
; Package
emacs
.
(Fri, 25 Dec 2015 23:28:02 GMT)
Full text and
rfc822 format available.
Message #29 received at 14242 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> (Please keep the debbugs address cc'd)
>
> Robert Goldman wrote:
>
>> Thanks. Question: isn't the stuff from my trace of vc-svn wrong? I.e.,
>> do we agree that vc-svn is incorrectly seeing a file that's
>> unregistered? If that's the case, I can try to zero in on why I'm
>> getting these bad results, and provide you some more useful feedback.
>
> It certainly sounds like Emacs is getting the svn status of the file
> wrong. This may or may not be due to a problem parsing the output of the
> "svn status" external command. Eg it could be due to us not calling "svn
> status"; http://debbugs.gnu.org/7850 comes to mind.
>
> The most helpful thing is of course a recipe to reliably reproduce the problem.
> Failing that, you might try edebugging vc-next-action to see why it gets
> "state" wrong.
More information was requested, but no response was given within a few
months, so I'm closing this bug report. If the problem still exists,
please reopen this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug closed, send any further explanations to
14242 <at> debbugs.gnu.org and Robert Goldman <rpgoldman <at> sift.info>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 25 Dec 2015 23:28:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 23 Jan 2016 12:24:06 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 151 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.