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

Re: 'svn cleanup' ignores externals

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 16 Apr 2012 14:48:45 +0300

Kuno Meyer wrote on Mon, Apr 16, 2012 at 10:31:33 +0000:
> Is it by design that 'svn cleanup' ignores externals and that there is no way to
> include them?
>

You should be able to include them by naming them explicitly:

% svn cleanup path/to/external/dir

> I found it a bit inconsistent that 'working copy' has different meanings for
> 'svn update' and 'svn cleanup'.
>

I think we can fix that in 1.8. We have --include-externals and
--ignore-externals flags; we just need to decide whether to include
externals by default or not.

Daniel

> Kuno
>
> ------------
>
> $>svn help update
> update (up): Bring changes from the repository into the working copy.
>
> $>svn help cleanup
> cleanup: Recursively clean up the working copy, removing locks, resuming
>
> ------------
>
> $> svn up <wc_root>
>
> Fetching external item into '<some_other_path>':
> svn: warning: W155037: Previous operation has not finished; run 'cleanup' if it
> was interrupted
>
> At revision 62460.
> svn: E205011: Failure occurred processing one or more externals definitions
>
> $> svn cleanup <wc_root>
>
> $> svn up <wc_root>
>
> Fetching external item into '<some_other_path>':
> svn: warning: W155037: Previous operation has not finished; run 'cleanup' if it
> was interrupted
>
> At revision 62460.
> svn: E205011: Failure occurred processing one or more externals definitions
>
>
Received on 2012-04-16 13:50:16 CEST

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