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

Re: --ignore-externals by default

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Wed, 15 Oct 2008 00:19:22 -0500

On Oct 14, 2008, at 08:11, Olivier FAURAX wrote:

>>> I want ignore-externals to be the default behavior.
>> You mean "the default behavior for you", right?
>> We can't make it the default behavior out-of-the-box. But we can
>> offer
>> a config option for it, so that you can choose to have that be the
>> default for you...
> Yes, I don't want to change the overall behavior for everyone ;)
> I would like an option to be able to work on a project without
> specifying --ignore-externals each time.
> Some ideas :
> * a config in ~/.subversion/config (but a user would want to tune
> project by project)
> * a config project-wide i.e. a property (svn:ignore-externals ?)
> that could be overriden by an option (svn up --force-externals)
> * simply a shorter option : svn up -i

Your original mail said you did not want to redefine your commands in
your .bashrc:

On Oct 10, 2008, at 03:39, Olivier FAURAX wrote:

> Would it be possible to tell svn client (Linux command line) to
> ignore externals when ignore-externals option is available (up, st,
> etc.).
> It's a pain to kill 'svn st' because externals takes too much time
> to verify there is nothing to update and to retype 'svn st --ignore-
> externals' (+400% in length ;) ).
> I don't want to redefine all the commands in my .bashrc

But that would solve your problem for now, until Subversion can be
changed to include that option:

svn() {
        case "$1" in
                        for i in $@; do
                                if [ "--examine-externals" == "$i" ]; then
                                        svnargs1="$svnargs1 $i"
                        echo command svn $svnargs1 $svnargs2
                        command svn "$@"

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-15 07:19:41 CEST

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

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