You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Andrew S." <ms...@hotmail.com> on 2008/12/07 06:51:51 UTC
using svn to get change logs of files with custom properties
Hi svn team. Love the o'reilly book, but still have a question.
Is there a way I can use `svn info` or `svn log` over a range of
dates AND only on files that have a specific custom property?
Ultimately I want only logs of files that have a specific custom
property.
Currently I want to write a perl script that does this (using arbitrary
dates and repo):
$ svn info -R -r {2008-12-1}:{2008-12-31}
http://svn.myorg.com/projectsource/
$ svn propget feature -R http://depot/projectsource
and then have the script pick out the log entries from the output of
`svn info` based on the tags that I see in output of `svn propget`.
But if there's a way to combine those two commands, into some kind of
super command, I wouldn't have to go through all that :)
Basically my question is, is there something like this fantasy command
available to use?:
$ svn info -R --properties=project:foo,feature:bar
-r {2008-12-1}:{2008-12-31} http://svn.myorg.com/projectsource/
_________________________________________________________________
You live life online. So we put Windows on the web.
http://clk.atdmt.com/MRT/go/127032869/direct/01/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=980675
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: using svn to get change logs of files with custom properties
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 7, 2008, at 00:51, Andrew S. wrote:
> Is there a way I can use `svn info` or `svn log` over a range of
> dates AND only on files that have a specific custom property?
No... Subversion has no facility to search properties.
> Ultimately I want only logs of files that have a specific custom
> property.
>
> Currently I want to write a perl script that does this (using
> arbitrary
> dates and repo):
>
> $ svn info -R -r {2008-12-1}:{2008-12-31}
> http://svn.myorg.com/projectsource/
> $ svn propget feature -R http://depot/projectsource
>
> and then have the script pick out the log entries from the output of
> `svn info` based on the tags that I see in output of `svn propget`.
> But if there's a way to combine those two commands, into some kind of
> super command, I wouldn't have to go through all that :)
>
> Basically my question is, is there something like this fantasy command
> available to use?:
>
> $ svn info -R --properties=project:foo,feature:bar
> -r {2008-12-1}:{2008-12-31} http://svn.myorg.com/projectsource/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981457
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=982472
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].
Re: using svn to get change logs of files with custom properties
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 7, 2008, at 00:51, Andrew S. wrote:
> Is there a way I can use `svn info` or `svn log` over a range of
> dates AND only on files that have a specific custom property?
No... Subversion has no facility to search properties.
> Ultimately I want only logs of files that have a specific custom
> property.
>
> Currently I want to write a perl script that does this (using
> arbitrary
> dates and repo):
>
> $ svn info -R -r {2008-12-1}:{2008-12-31}
> http://svn.myorg.com/projectsource/
> $ svn propget feature -R http://depot/projectsource
>
> and then have the script pick out the log entries from the output of
> `svn info` based on the tags that I see in output of `svn propget`.
> But if there's a way to combine those two commands, into some kind of
> super command, I wouldn't have to go through all that :)
>
> Basically my question is, is there something like this fantasy command
> available to use?:
>
> $ svn info -R --properties=project:foo,feature:bar
> -r {2008-12-1}:{2008-12-31} http://svn.myorg.com/projectsource/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=981457
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].