[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn status -v on nonexistent files has changed

From: <kfogel_at_collab.net>
Date: 2003-06-06 16:52:18 CEST

kfogel@collab.net writes:
> I couldn't reproduce this with head (rev 6163) of vc-svn.el and of
> Subversion. I think 'svn status' has already been fixed back.

Wait, this is more complex than I thought. Here is some more careful
testing this time -- all with head (6163) of both vc-svn.el and
Subversion, GNU Emacs 21.1.50.3, and 'xxx' is a non-existent file:

   1. Using head of vc-svn.el and Subversion, I do *not* get an
      error when I do "C-x C-f xxx RET" in Emacs. It just brings up
      the new buffer named 'xxx', no complaints.

   2. I get different errors or non-errors by running status on 'xxx',
      depending on the options and whether or not I'm inside a
      Subversion working copy:

         $ cd some-working-copy
         $ svn st xxx
         $ svn st -v xxx
         $ svn st -u xxx
         subversion/libsvn_wc/update_editor.c:2250: (apr_err=150000)
         svn: Can't find an entry
         svn: svn_wc_is_wc_root: 'xxx' is not a versioned resource
         $ svn st -uv xxx
         subversion/libsvn_wc/update_editor.c:2250: (apr_err=150000)
         svn: Can't find an entry
         svn: svn_wc_is_wc_root: 'xxx' is not a versioned resource

         $ cd outside-a-working-copy
         $ svn st xxx
         subversion/libsvn_wc/lock.c:306: (apr_err=155007)
         svn: Path is not a working copy directory
         svn: '.' is not a working copy
         $ svn st -v xxx
         subversion/libsvn_wc/lock.c:306: (apr_err=155007)
         svn: Path is not a working copy directory
         svn: '.' is not a working copy
         $ svn st -u xxx
         subversion/libsvn_wc/lock.c:306: (apr_err=155007)
         svn: Path is not a working copy directory
         svn: '.' is not a working copy
         $ svn st -uv xxx
         subversion/libsvn_wc/lock.c:306: (apr_err=155007)
         svn: Path is not a working copy directory
         svn: '.' is not a working copy
         $

All those different status results in (2) are disturbingly
inconsistent, and maybe should get an issue ("svn status behaves
inconsistently" or something). But (1) is the bug you originally
reported, and it's strange that I can't reproduce it.

What's the exact error you're seeing, and the version of Emacs?

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 6 17:37:18 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.