GNU bug report logs - #4025
23.1.50; VC shows bazaar files as modified on modeline

Previous Next

Package: emacs;

Reported by: <ofv <at> wanadoo.es> (Óscar Fuentes)

Date: Mon, 3 Aug 2009 21:35:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

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 4025 in the body.
You can then email your comments to 4025 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4025; Package emacs. (Mon, 03 Aug 2009 21:35:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to <ofv <at> wanadoo.es> (Óscar Fuentes):
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Mon, 03 Aug 2009 21:35:06 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: <ofv <at> wanadoo.es> (Óscar Fuentes)
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; VC shows bazaar files as modified on modeline
Date: Mon, 03 Aug 2009 23:27:29 +0200
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the emacs-pretest-bug <at> gnu.org mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

When visiting a file which is versioned with bazaar, on a pristine
branch, the modeline indicates that it is locally modified (shows
Bzr:700). After M-x vc-revert, it shows its right state (Bzr-700)
and keeps doing so for subsequent emacs sessions.

One workaround is to execute `bzr revert` for the whole branch.

If there is a modified file, VC will keep showing it as locally modified
even after executing `bzr revert` on a shell and doing a M-x
revert-buffer.

Using bzr 1.17

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/local/share/emacs/23.1.50/etc/DEBUG for instructions.


In GNU Emacs 23.1.50.3 (x86_64-unknown-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-07-31 on qcore
Windowing system distributor `The X.Org Foundation', version 11.0.10600000
configured using `configure  '--with-x-toolkit=lucid''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4025; Package emacs. (Tue, 04 Aug 2009 02:20:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Óscar Fuentes <ofv <at> wanadoo.es>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 04 Aug 2009 02:20:04 GMT) Full text and rfc822 format available.

Message #10 received at 4025 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: 4025 <at> debbugs.gnu.org
Subject: Re: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline
Date: Tue, 04 Aug 2009 04:13:04 +0200
The problem is in vc-bzr-state-heuristic. It doesn't notice that the
heuristics used for checking the state doesn't work and returns some
garbage instead of crashing and hence invoke vc-bzr-state through the
`error` form at the end.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4025; Package emacs. (Tue, 04 Aug 2009 02:55:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Óscar Fuentes <ofv <at> wanadoo.es>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 04 Aug 2009 02:55:07 GMT) Full text and rfc822 format available.

Message #15 received at 4025 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: 4025 <at> debbugs.gnu.org
Subject: Re: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline
Date: Tue, 04 Aug 2009 04:45:38 +0200
Another workaround is to execute `bzr status` for the branch on a
shell. VC will detect the correct state afterwards.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4025; Package emacs. (Tue, 04 Aug 2009 06:45:05 GMT) Full text and rfc822 format available.

Message #18 received at 4025 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 4025 <at> debbugs.gnu.org
Subject: Re: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline
Date: Mon, 3 Aug 2009 23:36:06 -0700 (PDT)
Óscar Fuentes <ofv <at> wanadoo.es> writes:

  > The problem is in vc-bzr-state-heuristic. It doesn't notice that the
  > heuristics used for checking the state doesn't work and returns some
  > garbage instead of crashing and hence invoke vc-bzr-state through the
  > `error` form at the end.

vc-bzr-state-heuristic looks for some very specific things to try to
guess the state, if none of the match it returns 'edited, which is what
you see.

You can try looking at the entry in .bzr/checkout/dirstate for the file
in question in both the branch and the repository. Check the difference
between the two and try to find out why vc-bzr-state-heuristic fails.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4025; Package emacs. (Sun, 18 Oct 2009 03:15:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Óscar Fuentes <ofv <at> wanadoo.es>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 18 Oct 2009 03:15:07 GMT) Full text and rfc822 format available.

Message #23 received at 4025 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Óscar Fuentes <ofv <at> wanadoo.es>
To: 4025 <at> debbugs.gnu.org
Subject: Re: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline
Date: Sun, 18 Oct 2009 05:10:18 +0200
For the record, this issue is fixed.



bug closed, send any further explanations to <ofv <at> wanadoo.es> (Óscar Fuentes) Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Sun, 18 Oct 2009 03:35:08 GMT) Full text and rfc822 format available.

Message #26 received at 4025-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dan Nicolaescu <dann <at> ics.uci.edu>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Cc: 4025-done <at> debbugs.gnu.org
Subject: Re: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline
Date: Sat, 17 Oct 2009 23:07:51 -0700 (PDT)
Óscar Fuentes <ofv <at> wanadoo.es> writes:

  > For the record, this issue is fixed.

Marked as such then.



Message #27 received at 4025-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Óscar Fuentes <ofv <at> wanadoo.es>
Subject: Re: bug#4025: 23.1.50; VC shows bazaar files as modified on modeline
Date: Sun, 18 Oct 2009 10:41:15 -0400
> For the record, this issue is fixed.

Thank you for confirming,


        Stefan



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 15 Nov 2009 15:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 276 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.