Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: complete subversion change lists
- X-seq: zsh-workers 30205
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: PATCH: complete subversion change lists
- Date: Sat, 11 Feb 2012 03:08:31 +0200
- Cc: Zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=mesmtp; bh= LYio+h3+pqdWtNPkVpvTw25A00I=; b=jcmcfXHdy3qBX8kZGKWjdJnoNx6Fqeg6 5nmVuE2GcMrJGSOecUHVk2+dlx+uvYy6W5a7n0dnVOHl9KxkfCb2keVJTZVXXagp P3Ns2OOWqo9akZDsKFFmAwL45xmVKX6trgUkJBN4f+m1UoQ636Wjjx/u4EDPeDcJ iFmWGwAQ6Xk=
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:in-reply-to; s=smtpout; bh=LYio+h3+pqdWtNPkVpvTw25A00I=; b=iA8icMZtGbKiJCLt20UXIa+hyA7j 1DvL8GIPbbvklpsutdlgWyN103oSgtjhslJZAsGWE0/o3w9m3qD+KWz6d6K3L/v1 SJ0sj3C1A2v5rm30+92aSEnB8TjjlfV7SPnQoQT39E6BP4WfBXoisoss8NDWjRwK lo1qEWA7IWzaYz0=
- In-reply-to: <22654.1328888328@thecus.kiddle.eu>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <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.)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author