From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Hanchrow Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1589: 23.0.60; vc-dir erroneously reports "No changes between working revision and workfile" Date: Mon, 15 Dec 2008 19:54:07 -0800 Message-ID: <873agoojvk.fsf@offby1.atm01.sea.blarg.net> Reply-To: Eric Hanchrow , 1589@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229499750 10168 80.91.229.12 (17 Dec 2008 07:42:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2008 07:42:30 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 08:43:36 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCr4A-0001m7-M9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 08:43:35 +0100 Original-Received: from localhost ([127.0.0.1]:45330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCr2y-00045K-LQ for geb-bug-gnu-emacs@m.gmane.org; Wed, 17 Dec 2008 02:42:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCr21-0003RE-3h for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:41:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCr1y-0003Pi-Mc for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:41:19 -0500 Original-Received: from [199.232.76.173] (port=47045 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCr1y-0003PN-9V for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:41:18 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:43424) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCr1w-0007xR-TX for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:41:17 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCr1w-0004f8-0s for bug-gnu-emacs@gnu.org; Wed, 17 Dec 2008 02:41:16 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBH7OJG2014034; Tue, 16 Dec 2008 23:24:33 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBH6tfdw005025; Tue, 16 Dec 2008 22:55:41 -0800 X-Loop: don@donarmstrong.com Resent-From: Eric Hanchrow Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 17 Dec 2008 06:55:39 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1589 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122939965818644 (code B ref -1); Wed, 17 Dec 2008 06:55:39 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 16 Dec 2008 03:54:18 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBG3sEnI018633 for ; Mon, 15 Dec 2008 19:54:15 -0800 Original-Received: from mx10.gnu.org ([199.232.76.166]:36885) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LCQzy-0007EK-1B for emacs-pretest-bug@gnu.org; Mon, 15 Dec 2008 22:53:30 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LCR0e-0007F0-A1 for emacs-pretest-bug@gnu.org; Mon, 15 Dec 2008 22:54:13 -0500 Original-Received: from smtp61.avvanta.com ([206.124.128.61]:34132 helo=mail.avvanta.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCR0d-0007Ee-RA for emacs-pretest-bug@gnu.org; Mon, 15 Dec 2008 22:54:12 -0500 Original-Received: from mail.avvanta.com (localhost.drteeth.p.blarg.net [127.0.0.1]) by mail.avvanta.com (Postfix) with ESMTP id 444CEF3937 for ; Mon, 15 Dec 2008 19:54:09 -0800 (PST) Original-Received: from offby1.atm01.sea.blarg.net (q-static-138-125.avvanta.com [206.124.138.125]) by mail.avvanta.com (Postfix) with ESMTP id 1CF7FF3940 for ; Mon, 15 Dec 2008 19:54:09 -0800 (PST) Original-Received: from erich by offby1.atm01.sea.blarg.net with local (Exim 4.69) (envelope-from ) id 1LCR0a-0004w3-Cd for emacs-pretest-bug@gnu.org; Mon, 15 Dec 2008 19:54:08 -0800 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-BlargAV-Status: No viruses detected, BlargAV v1.1 on localhost.drteeth.p.blarg.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Wed, 17 Dec 2008 02:41:19 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23311 gmane.emacs.pretest.bugs:23510 Archived-At: 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@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Edit the third line of this script to point to your Emacs, and then run it. #!/bin/sh -x EMACS=/usr/local/src/emacs-with-my-tweaks.git/src/emacs cd /tmp rm -rf xyzzy mkdir xyzzy cd xyzzy git init mkdir Jack Jill touch Jack/it Jill/it git add . git commit -m "golly!" echo More stuff >> Jack/it cd Jill git status # You should see this output: # On branch master # Changed but not updated: # (use "git add ..." to update what will be committed) # (use "git checkout -- ..." to discard changes in working directory) # # modified: ../Jack/it # $EMACS -Q \ --eval '(cd "/tmp/xyzzy/Jill")' \ --eval '(vc-dir "/tmp/xyzzy/Jill")' # note that we're now looking at something like # VC backend : Git # Working dir: /tmp/xyzzy/Jill/ # Branch : master # # ./ # Jack/ # edited Jack/it # # # That seems a bit odd, since the name "Jack/it" doesn't name anything # at all when interpreted relative to /tmp/xyzzy/Jill. # Furthermore, if you move point to "Jack/it" (by typing "n" twice), # and then invoke vc-diff by typing "=", Emacs will respond with "No # changes between working revision and workfile", which is wrong; the # file is indeed modified. 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/src/emacs/etc/DEBUG for instructions. In GNU Emacs 23.0.60.3 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of 2008-12-14 on debian 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: nil value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Shell Minor modes in effect: erc-ring-mode: t erc-pcomplete-mode: t erc-netsplit-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-autojoin-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-readonly-mode: t desktop-save-mode: t display-time-mode: t global-auto-revert-mode: t diff-auto-refine-mode: t shell-dirtrack-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: E T RET o o t TAB C-c C-u C-c C-@ C-c C-@ C-c C-@ 0 _ o RET C-u C-p C-u C-p C-u C-p ESC b RET ESC > t h a t SPC p i x DEL c SPC i s SPC a i r b r u s h e d SPC b e y o n d SPC r e c o g n i t i o n RET C-c C-@ / m e SPC a h o y s , SPC b e l ESC / RET C-r < e l i > ESC > e l i TAB : SPC b e l a t e d SPC p o n g RET C-c C-@ C-c C-@ C-c C-@ C-c C-@ C-c C-@ t o o f l e DEL DEL DEL d l e - o o RET C-c C-@ C-x d C-g C-x b s c h RET y e p RET w a i t . RET i s n ' t SPC " I R L " SPC I r e l a n d ? RET C-x b s h e RET c d RET c d SPC d o o TAB m z TAB DEL DEL s c TAB ESC DEL s c TAB ESC DEL a n TAB s c TAB m z TAB RET g i t SPC s t a t u s RET C-x d RET g C-n RET ESC O ESC C-o ESC C-o o # DEL DEL # SPC O h SPC w o w ! ! C-x C-s C-x k RET C-x v d RET n n = q ESC x r e p o r t - e m c a s TAB DEL DEL DEL a TAB RET Recent messages: Completed No completions of doodles/mz Completing file name... No completions of doodles/mz Completed [4 times] Partially completed ~/doodles/anagrams/scheme/mzscheme Wrote /home/erich/doodles/anagrams/scheme/mzscheme/GNUmakefile Finding changes in /home/erich/doodles/anagrams/scheme/mzscheme/scheme/mzscheme/GNUmakefile... No changes between working revision and workfile -- If there were a little guy running around inside the computer executing our programs, he would probably have as long and plaintive a tale to tell about his job as a federal government employee. -- Paul Graham