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

Re: svn commit: r19645 - branches/changelist-feature/subversion/svn

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-05-19 20:43:02 CEST

On Fri, 19 May 2006, Julian Foad wrote:

> Daniel Rall wrote:
> >On Tue, 16 May 2006, Philip Martin wrote:
> >>"Ben Collins-Sussman" <sussman@red-bean.com> writes:
> >>>On 5/16/06, Philip Martin <philip@codematters.co.uk> wrote:
> >>>
> >>>>>Changelist 'status-printing':
> >>>>>M subversion/svn/status-cmd.c
> >>>>
> >>>>What about files that are marked as being part of a changeset but are
> >>>>are otherwise unmodified, do they show up in the status listing?
> >>>
> >>>That's a very good question!
> >>>
> >>>The answer is: I'm not sure. I've been pondering this for a day or
> >>>two, and I can't decide. Does having a changeset-association make
> >>>something inherently "interesting" enough to be listed by 'svn
> >>>status'?
> >>
> >>Yes, I think it does but I have no experience of using changesets.
> >
> >+1, I'd like to see any file associated with a changelist show up when
> >viewing the status for that changelist. This is not only very
> >Perforce-like, but more importantly, user-friendly.
>
> You say "when viewing the status for that changelist" but the example of
> which part is quoted above was IIRC a plain "svn status" which report some
> items that were part of changelists as well as some that weren't.
>
> It's one thing for "svn status --changelist mylist1" to report all members
> of "mylist1" but do you want plain "svn status" to report all members of
> all current lists instead of just things that are modified?
>
> I'm not taking sides, just pointing out an ambiguity.

Good clarification, Julian. I'd want a 'status' variation specific to
changelists (plural, *or* specific to a single list) to show all
members of a changelist (modified or otherwise).

While vanilla 'svn status' doesn't usually show unmodified files, I
lean towards a file which is "unmodified, but part of a changelist"
showing up, mostly on the basis that we might be able to keep the
command list smaller (see below).

Here's the possibilities discussed above:

------------------------+-------------------------------------------------
COMMAND | SHOWS CHANGELISTS/MEMBERS?
------------------------+-------------------------------------------------
svn status | All lists. All members, including unmodified?
------------------------+-------------------------------------------------
svn status --changelist | All lists. All members, including unmodified.
                        | Redundant with vanilla status it includes
                        | unmodified members.
------------------------+-------------------------------------------------
svn status \ | Single list. All members, including unmodified.
  --changelist my-list |
------------------------+-------------------------------------------------

  • application/pgp-signature attachment: stored
Received on Fri May 19 20:43:34 2006

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.