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

Re: Display log from a tag -> head

From: Ronny T. Lampert <telecaadmin_at_uni.de>
Date: 2005-03-16 15:19:51 CET

>>>> consider I made a tag of a version into /tags/project-drop3.
>>>> Now I want to see all changes since THAT tag like
>>>> #> svn log --from /tags/project-drop3:HEAD or
>> So how about introducing a short-cut-command?
> It's really hard to define such a feature... how would you define the UI?
I was thinking a day about it and came to the conclusion, that it doesn't
make any sense to allow this for cross-repository URLs or to be TOO generic
about the PATHs.
Withing one repos, it should be relatively straight forward.

I would like to specify something like

--base /tags/project-drop3 --target /tags/project-drop4/HEAD/<revision>

which would be the best mnemonic style, I think, and the paths stay withing
the base-repos the WC is checked out from.

Take THIS as base to compare against, and check everything until THAT.
Should be available for at least svn diff and svn log, I think.

(As I said, within one tree should be rather easy - get last revision from
--base and compare against last revision from --target; you are only
specifying -rSTART:END ranges in another way)

> The problem is that you're making a whole lot of assumptions here about
> the relationship between two URLs -- that they share history in a
> really specific way.
Yep, I was only thinking about a command working within ONE repository,
because 2 arbitrary URLs would be rather complex to do.

I am guilty that I am somewhat inspired by how BitKeeper's revtool works.

> Honestly, what I'd really like to see is a new feature like
>
> svn diff URL1 URL2 --short
>
> Where --short (--quiet? whatever it's called) causes the diff command
> to print nothing but the single-letter status codes that one normally
> sees from 'update' or 'merge'. Then at least you'd be able to see the
> list of files that changed between two branches. Not quite the same
> thing as seeing the logs, but a lot of people have asked for this.

Could we somehow "marry" the two features, to have --short for the
above-mentioned?

Cheers,
Ronny

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 16 15:24:07 2005

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

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