unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4741: 23.1; vc-dir with svn gives wrong result
@ 2009-10-17  1:18 Tom Tromey
  2009-10-17  2:29 ` Dan Nicolaescu
  2012-03-26 23:59 ` Glenn Morris
  0 siblings, 2 replies; 3+ messages in thread
From: Tom Tromey @ 2009-10-17  1:18 UTC (permalink / raw)
  To: bug-gnu-emacs


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 bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

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


I ran vc-dir on a directory managed by svn.
It showed 2 modified files.
However, svn status shows many more modified files.

Here are the contents of the vc-dir buffer and various svn commands in
the same directory.

VC backend : SVN
Working dir: ~/gcc/trunk/libcpp/
Repository : svn+ssh://gcc.gnu.org/svn/gcc

                         ./
    edited               init.c
    edited               internal.h

================================================================

parfait. svn status
M       macro.c
M       directives.c
M       include/cpplib.h
M       include/line-map.h
M       include/cpp-id-data.h
M       line-map.c
M       files.c
M       init.c
M       internal.h
parfait. svn status -v
            148688   148662 manu         .
            148688   145841 jakub        symtab.c
            148688   145841 jakub        makeucnid.c
            148688   145316 tromey       configure
M           148688   147341 jsm28        macro.c
            148688   145841 jakub        Makefile.in
M           148688   147504 manu         directives.c
            148688   148627 ian          include
M           148688   148627 ian          include/cpplib.h
            148688   148051 ian          include/symtab.h
M           148688   148052 aldyh        include/line-map.h
M           148688   148051 ian          include/cpp-id-data.h
            148688   148051 ian          include/mkdeps.h
M           148688   146319 jsm28        line-map.c
M           148688   147504 manu         files.c
M           148688   148438 ian          init.c
            148688   145841 jakub        identifiers.c
            148688   148662 manu         ChangeLog
            148688   145841 jakub        ucnid.h
            148688   145841 jakub        pch.c
            148688   145841 jakub        traditional.c
            148688   145841 jakub        errors.c
            148688   148662 manu         expr.c
            148688   145841 jakub        directives-only.c
M           148688   148051 ian          internal.h
            148688   145316 tromey       configure.ac
            148688   145841 jakub        mkdeps.c
            148688   145841 jakub        ucnid.tab
            148688   148438 ian          lex.c
            148688   145316 tromey       config.in
            148688   147073 jsm28        charset.c
            148688   145841 jakub        system.h
            148688   134434 bonzini      aclocal.m4
            148688   146599 jsm28        po
            148688   144600 jsm28        po/es.po
            148688   142281 jsm28        po/fr.po
            148688   142525 jsm28        po/nl.po
            148688   146599 jsm28        po/ChangeLog
            148688   143990 jsm28        po/vi.po
            148688   142281 jsm28        po/uk.po
            148688   142281 jsm28        po/ca.po
            148688   142281 jsm28        po/da.po
            148688   142281 jsm28        po/tr.po
            148688   142281 jsm28        po/be.po
            148688   142281 jsm28        po/de.po
            148688   142525 jsm28        po/sv.po
            148688   142281 jsm28        po/ja.po
            148688   142281 jsm28        po/zh_TW.po
            148688   142281 jsm28        po/id.po
            148688   146599 jsm28        po/cpplib.pot
            148688   142281 jsm28        po/el.po
            148688   144156 jsm28        po/zh_CN.po
parfait. svn status -u
M       *   148688   include/cpplib.h
        *   148688   include/symtab.h
M       *   148688   include/line-map.h
M       *   148688   include/cpp-id-data.h
        *   148688   include/mkdeps.h
        *   148688   po/da.po
        *   148688   po/tr.po
        *   148688   po/be.po
        *   148688   po/sv.po
        *   148688   po/de.po
        *   148688   po/ja.po
        *   148688   po/zh_TW.po
        *   148688   po/id.po
        *   148688   po/el.po
        *   148688   po/zh_CN.po
        *   148688   po/fr.po
        *   148688   po/es.po
        *   148688   po/nl.po
        *   148688   po/ChangeLog
        *   148688   po/vi.po
        *   148688   po/uk.po
        *   148688   po/ca.po
        *   148688   symtab.c
        *   148688   configure
M       *   148688   directives.c
        *   148688   Makefile.in
M       *   148688   macro.c
M       *   148688   files.c
M       *   148688   line-map.c
M           148688   init.c
        *   148688   ChangeLog
M           148688   internal.h
        *   148688   configure.ac
        *   148688   config.in
        *   148688   charset.c
        *   148688   aclocal.m4
Status against revision: 152923




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/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.6)
 of 2009-09-29 on x86-7.fedora.phx.redhat.com
Windowing system distributor `The X.Org Foundation', version 11.0.10603901
configured using `configure  '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
 ffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables''

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: Group

Minor modes in effect:
  gnus-agent-mode: t
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  erc-list-mode: t
  erc-menu-mode: t
  erc-autojoin-mode: t
  erc-ring-mode: t
  erc-pcomplete-mode: t
  erc-track-mode: t
  erc-track-minor-mode: t
  erc-match-mode: t
  erc-button-mode: t
  erc-fill-mode: t
  erc-stamp-mode: t
  erc-netsplit-mode: t
  erc-spelling-mode: t
  erc-truncate-mode: t
  gnus-undo-mode: t
  erc-status-mode: t
  erc-services-mode: t
  erc-networks-mode: t
  erc-irccontrols-mode: t
  erc-noncommands-mode: t
  erc-move-to-prompt-mode: t
  erc-readonly-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-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:
a n SPC DEL d SPC a s s i n g SPC DEL DEL DEL g n SPC 
i t SPC t o SPC m e RET I ' l l SPC l o o k SPC ESC 
DEL t r y SPC t o SPC l o o k SPC n e x t SPC w e e 
k SPC o r SPC I ' l l SPC p u s h SPC i t SPC o f f 
SPC o n SPC s o e DEL m e o n e SPC e l s e RET w e 
SPC h a d SPC s e v e r a C-a C-k h a h a RET C-y l 
SPC l o n g SPC t h r e a d s SPC a b o u t SPC h o 
w SPC t o SPC d o SPC t h i s SPC s t u f f RET : ) 
RET p r o b a b l y SPC d o u g SPC w i l l SPC e n 
d SPC u p SPC i m p l e m e n t i n g SPC i t SPC a 
n y w a y RET h a h a , SPC y e a h RET I SPC m e a 
n t SPC C-a C-k ESC [ 2 1 ~ ESC [ 2 1 ~ ESC [ 2 1 ~ 
ESC [ 2 1 ~ ESC [ 2 1 ~ p ESC g ESC g ESC g p p SPC 
ESC > d q s n ESC g p SPC ESC > q s ESC x r e p o r 
t - e TAB RET b TAB RET

Recent messages:
Retrieving newsgroup: nntp+news.gmane.org:gmane.comp.gnu.binutils...
Fetching headers for nntp+news.gmane.org:gmane.comp.gnu.binutils...done
Generating summary...done
Mark set
(No changes need to be saved)
Saving /home/tromey/.newsrc.eld...
Saving file /home/tromey/.newsrc.eld...
Wrote /home/tromey/.newsrc.eld
Saving /home/tromey/.newsrc.eld...done
Making completion list...

Tom






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

* bug#4741: 23.1; vc-dir with svn gives wrong result
  2009-10-17  1:18 bug#4741: 23.1; vc-dir with svn gives wrong result Tom Tromey
@ 2009-10-17  2:29 ` Dan Nicolaescu
  2012-03-26 23:59 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Nicolaescu @ 2009-10-17  2:29 UTC (permalink / raw)
  To: Tom Tromey; +Cc: 4741

Tom Tromey <tromey@redhat.com> writes:

  > 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 bug-gnu-emacs@gnu.org mailing list,
  > and to the gnu.emacs.bug news group.
  > 
  > Please describe exactly what actions triggered the bug
  > and the precise symptoms of the bug:
  > 
  > 
  > I ran vc-dir on a directory managed by svn.
  > It showed 2 modified files.
  > However, svn status shows many more modified files.
  > 
  > Here are the contents of the vc-dir buffer and various svn commands in
  > the same directory.

If looks like you wrote the function that does most of the work here:
vc-svn-after-dir-status.  Can you please debug it and see what is wrong?

A quick thing to try is to take out the -u flag from vc-svn-dir-status
and see if things work better... 






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

* bug#4741: 23.1; vc-dir with svn gives wrong result
  2009-10-17  1:18 bug#4741: 23.1; vc-dir with svn gives wrong result Tom Tromey
  2009-10-17  2:29 ` Dan Nicolaescu
@ 2012-03-26 23:59 ` Glenn Morris
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2012-03-26 23:59 UTC (permalink / raw)
  To: 4741-done

Version: 23.2

With svn 1.6, I see this (vc-dir only lists files without "*" in second
column of svn status -u) in Emacs 23.1 but not 23.2 or later, so I guess
it was fixed some time ago. Presumably by this:

2009-12-10  Dan Nicolaescu  <dann at ics.uci.edu>

    * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)





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

end of thread, other threads:[~2012-03-26 23:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-17  1:18 bug#4741: 23.1; vc-dir with svn gives wrong result Tom Tromey
2009-10-17  2:29 ` Dan Nicolaescu
2012-03-26 23:59 ` Glenn Morris

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