You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Luca Ferrari <fl...@infinito.it> on 2008/10/17 22:37:15 UTC
getting a few information on the last repositories changes
Hi,
I'd like to get the list of changed pathes between two tags (and more in
general between two revisions), but it seems svlook allows only to get the
list of changed pathes from only one specific revision. How can I get
information between two revision numbers and tags?
Moreover, is it possible to query the repository and see all the last
activities of a committer?
Thanks,
Luca
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: getting a few information on the last repositories changes
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 19, 2008, at 01:57, Jeremy Kitchen wrote:
> David Weintraub wrote:
>
>> On Fri, Oct 17, 2008 at 7:40 PM, Ryan Schmidt wrote:
>>
>>> Getting the changed paths between two tags is hard, because a tag
>>> is not an
>>> alias for a revision; it is a separate repository path.
>>
>> This is one of the reasons I hate the way Subversion does tags!
>
> why can't you simply do this:
>
> svn diff http://hostname/repo/tags/123 http://hostname/repo/tag/124 ?
Hmm, you're right. You can get the changed paths that way. Better
yet, add the --summarize flag, e.g. to get the changed paths in the
Subversion source between versions 1.5.2 and 1.5.3:
svn diff --summarize http://svn.collab.net/repos/svn/tags/{1.5.2,1.5.3}
I was thinking of how to get the log messages for the changes between
two tags. That's not so easy.
> The only reason I can see that not working is if your tags are not of
> the same path...
>
> I've used this to build diffs from squirrelmail's repository (though
> nowadays I usually just do two exports and diff locally, so I'm not
> hammering sf's repo servers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: getting a few information on the last repositories changes
Posted by Jeremy Kitchen <ki...@scriptkitchen.com>.
David Weintraub wrote:
> On Fri, Oct 17, 2008 at 7:40 PM, Ryan Schmidt
> <su...@ryandesign.com> wrote:
>> Getting the changed paths between two tags is hard, because a tag is not an
>> alias for a revision; it is a separate repository path.
>
> This is one of the reasons I hate the way Subversion does tags!
why can't you simply do this:
svn diff http://hostname/repo/tags/123 http://hostname/repo/tag/124 ?
The only reason I can see that not working is if your tags are not of
the same path...
I've used this to build diffs from squirrelmail's repository (though
nowadays I usually just do two exports and diff locally, so I'm not
hammering sf's repo servers.
-Jeremy
Re: getting a few information on the last repositories changes
Posted by David Weintraub <qa...@gmail.com>.
On Fri, Oct 17, 2008 at 7:40 PM, Ryan Schmidt
<su...@ryandesign.com> wrote:
> Getting the changed paths between two tags is hard, because a tag is not an
> alias for a revision; it is a separate repository path.
This is one of the reasons I hate the way Subversion does tags!
What you can do is a "svn log -v --stop-on-copy" on the tag to get the
revision and the path that tag is from. You might have to do this
again if that tag is a copy of another tag. For example, we have build
tags and production tags, so if we were looking for the difference
between two production tags, we would have to do an "svn log -v" on
the production tag which gives us the URL and revision of the build
tag. Doing another "svn log -v" on the build tag would give us the URL
and revision you're looking for.
This isn't too bad to do manually, and you can script this, but it is a pain.
Anyway, once you have the revision numbers that the tags originated
from, you can then do a svn diff -rrev1:rev2 --summarize to get the
information you're looking for.
--
David Weintraub
qazwart@gmail.com
On Fri, Oct 17, 2008 at 7:40 PM, Ryan Schmidt
<su...@ryandesign.com> wrote:
>
> On Oct 17, 2008, at 17:37, Luca Ferrari wrote:
>
>> I'd like to get the list of changed pathes between two tags (and more in
>> general between two revisions), but it seems svlook allows only to get the
>> list of changed pathes from only one specific revision. How can I get
>> information between two revision numbers and tags?
>
> Getting the changed paths between two revisions (e.g. r100 and r200) is
> easy:
>
> svn log -r 100:200 -q -v $REPO
>
> or:
>
> svn diff --summarize -r 100:200 $REPO
>
> Getting the changed paths between two tags is hard, because a tag is not an
> alias for a revision; it is a separate repository path.
>
>
>> Moreover, is it possible to query the repository and see all the last
>> activities of a committer?
>
> There is not a built-in way to do that. You could use "svn log" over the
> desired revision range, and parse out the entries for the committer you're
> interested in, using whatever programming language you like.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: getting a few information on the last repositories changes
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Oct 17, 2008, at 17:37, Luca Ferrari wrote:
> I'd like to get the list of changed pathes between two tags (and
> more in
> general between two revisions), but it seems svlook allows only to
> get the
> list of changed pathes from only one specific revision. How can I get
> information between two revision numbers and tags?
Getting the changed paths between two revisions (e.g. r100 and r200)
is easy:
svn log -r 100:200 -q -v $REPO
or:
svn diff --summarize -r 100:200 $REPO
Getting the changed paths between two tags is hard, because a tag is
not an alias for a revision; it is a separate repository path.
> Moreover, is it possible to query the repository and see all the last
> activities of a committer?
There is not a built-in way to do that. You could use "svn log" over
the desired revision range, and parse out the entries for the
committer you're interested in, using whatever programming language
you like.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: getting a few information on the last repositories changes
Posted by vishwajeet singh <de...@gmail.com>.
You can take a look at statsvv
On Sat, Oct 18, 2008 at 4:07 AM, Luca Ferrari <fl...@infinito.it> wrote:
> Hi,
> I'd like to get the list of changed pathes between two tags (and more in
> general between two revisions), but it seems svlook allows only to get the
> list of changed pathes from only one specific revision. How can I get
> information between two revision numbers and tags?
>
> Moreover, is it possible to query the repository and see all the last
> activities of a committer?
>
> Thanks,
> Luca
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
--
Cheers,
Vishwajeet
http://www.singhvishwajeet.com