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

Re: If no such changelist, show we error?

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-08-18 17:39:17 CEST

On 8/18/07, Eric Gillespie <epg@pretzelnet.org> wrote:
> "David Glasser" <glasser@davidglasser.net> writes:
>
> > certainly expect this to be a bug. I'd hope to see either no output
> > or a warning if you call "svn ci --changelist foo" where foo has
> > elements but has no committables, and an error if you call "svn ci
> > --changelist footypo" where footypo has no elements at all.
>
> I would treat them both as equivalent to running 'svn ci' without
> arguments in a clean working copy, i.e. silently exit 0.

I agree on the former case (elements but no commitables). However, if
we stick with the current behavior (which is what you describe), we
have this inconsistency, which I find confusing:

macbook-2:/tmp/x/w glasser$ $SVN diff
macbook-2:/tmp/x/w glasser$ $SVN diff --changelist typo
svn: Try 'svn help' for more info
svn: no such changelist 'typo'
macbook-2:/tmp/x/w glasser$ $SVN ci
macbook-2:/tmp/x/w glasser$ $SVN ci --changelist typo
macbook-2:/tmp/x/w glasser$

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 18 17:37:00 2007

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

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