Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Issue with vcs_info and zsh 4.3.14



Pierre Schmitz wrote on Wed, Dec 07, 2011 at 15:03:47 +0100:
> Hi all,
> 
> after upgrading from 4.3.12 to 4.3.14 I noticed that my vcs_info always
> prints a warning if the current dir is not tracked by svn (but a parent
> dir is). This breaks the grml-zsh-config for example.
> 
> How to reproduce:
> $ svnadmin create /tmp/foo
> $ svn co file:///foo bar
> $ mkdir bar/blah
> $ cd bar/blah
> $ vcs_info
> svn: '.' is not a working copy
> 

Unversioned subdirectory of a working copy?

From a libsvn_wc perspective, the things to beware of here are tree
changes (uncommitted add/rm of directories; these may nest) and
non-direct-child externals --- namely, svn:externals properties on
directory X that create X\foo\bar\baz.

In practice, though, taking care of non-nested dir add/rm's should
address the vast majority of use-cases.

> I also noticed that when calling VCS_INFO_get_data_svn svn complains
> about the unknown option --non-interactive.
> 

All svn subcommands accept --non-interactives.

> Let me know if you need more info.
> 
> Greetings,
> 
> Pierre
> 
> -- 
> Pierre Schmitz, http://pierre-schmitz.com



Messages sorted by: Reverse Date, Date, Thread, Author