From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: Zsh workers <zsh-workers@zsh.org>
Subject: Re: PATCH: complete subversion change lists
Date: Sat, 11 Feb 2012 03:08:31 +0200 [thread overview]
Message-ID: <20120211010831.GA16088@daniel3.local> (raw)
In-Reply-To: <22654.1328888328@thecus.kiddle.eu>
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.)
prev parent reply other threads:[~2012-02-11 1:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-10 15:38 Oliver Kiddle
2012-02-11 1:08 ` Daniel Shahaf [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120211010831.GA16088@daniel3.local \
--to=d.s@daniel.shahaf.name \
--cc=okiddle@yahoo.co.uk \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).