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

Re: PATCH: complete subversion change lists



Oliver Kiddle wrote on Fri, Feb 10, 2012 at 16:38:48 +0100:
> +          while (( idx=$args[(I)*--c(l|hangelist):arg:] )); do
> +            args[(I)*--c(l|hangelist):arg:]=( \*{--cl,--changelist}':change list:_svn_changelists' )
> +          done

You could pass --quiet and/or --ignore-externals to save some disk
crawling.  (If --depth is already present on the command-line, you could
pass that too; but I don't know how easy it is to check that.)

In 1.7+, determining all valid changelist names can be done in a single
SQLite query.  Would it make sense to expose that in svn's API?

(Or you could run that query yourself --- but the SQLite schema is not
part of svn's public API and its backwards-compatibility guarantees.)



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