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

Re: Changelists: the next generation

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-10-15 19:12:12 CEST

On 10/14/07, Jay Levitt <lists-svndev@shopwatch.org> wrote:
> On 10/14/2007 10:38 AM, Karl Fogel wrote:
> > Danny van Heumen <danny.vanheumen@hccnet.nl> writes:
> >> Maybe it's a better idea to call this option '--not-in-changelist' as it
> >> sounds less ambiguous (at least to me).
> >
> > --unchangelisted
> >
> > <ducks>
> >
> > http://pink.bikeshed.com/
>
> I hate to continue the bikeshed, but how about:
>
> --changelist none?
>
> "none" can be the magic-word changelist that encompasses anything not in
> a changelist.
>
> If you don't know it's a magic word, it still works; try adding your own
> stuff to changelist none, and, well, it does, sorta.
>
> The semantics are now identical to using a changelist.

This made me wonder what using the empty string as a changelist name would do:

  glasser@smiler:~$ svn cl '' bin/make-svn
  Path 'bin/make-svn' is now a member of changelist ''.

... except it's lying: there is no empty changelist, only Zuul^H^H^H^H
no changelist.
(ie, the file is no longer on a changelist). And commands which take
--changelist
say "svn: Unknown changelist ''"

Should this command give an error, or just give the same message as
"svn cl --remove"?

--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 Mon Oct 15 19:12:27 2007

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