You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Adam Monsen <ha...@gmail.com> on 2006/09/12 19:15:51 UTC

limiting logs and diffs to specific nodes

Is there a way to limit logs and diffs to specific nodes?

For instance, say I want all log messages or all diffs from 0:HEAD, but only
for specific files and/or directories in a repository. Is there a way to get
this without parsing the log/diff output(s) myself?

-- 
Adam Monsen

Re: limiting logs and diffs to specific nodes

Posted by Lieven Govaerts <sv...@mobsol.be>.
Garrett Rooney wrote:
> On 9/17/06, Adam Monsen <ha...@gmail.com> wrote:
>> On 9/13/06, Adam Monsen <ha...@gmail.com> wrote:
>>
>> [...]
>> >
>> > For future reference, I filed issue #2609, "limiting logs and diffs to
>> specific nodes". I gave it the same summary as the subject of this email
>> thread.
>> >
>> > http://subversion.tigris.org/issues/show_bug.cgi?id=2609
>> >
>>  [...]
>>
>> Does anyone really want this feature (besides me)? Anyone really exited
>> about it?
>>
>> If so, speak up, and issue 2609 will have a better chance of becoming
>> implemented.
>
> For what it's worth, the only thing that's going to have a measurable
> impact on whether that feature request gets implemented is if someone
> steps up and volunteers to spec it out and implement it.  Lots of
> people saying "yes, I'd use that" is nice and all, but it's all kind
> of pointless without someone who's willing to write down exactly how
> it should work and then actually write the code.  If you are willing
> to do either of thise things, the dev@ list is just down the hall,
> first door on the left.
Well, if people would show interest, at least we'd reopen the feature 
request in the issue tracker.

I don't have any need for this particular option on log or diff, but I 
had a request some time ago from one of my colleagues for an exclude 
option on svn export and checkout.

His situation was a nightly buildserver building some 40 applications. 
Each application has the same folder setup in the repository, containing
a large doc folder (for requirements, design documentation etc.). To 
save disk space and minimize export time he'd like that exclude option 
to export all but that doc folder.

Lieven.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: limiting logs and diffs to specific nodes

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/17/06, Adam Monsen <ha...@gmail.com> wrote:
> On 9/13/06, Adam Monsen <ha...@gmail.com> wrote:
>
> [...]
> >
> > For future reference, I filed issue #2609, "limiting logs and diffs to
> specific nodes". I gave it the same summary as the subject of this email
> thread.
> >
> > http://subversion.tigris.org/issues/show_bug.cgi?id=2609
> >
>  [...]
>
> Does anyone really want this feature (besides me)? Anyone really exited
> about it?
>
> If so, speak up, and issue 2609 will have a better chance of becoming
> implemented.

For what it's worth, the only thing that's going to have a measurable
impact on whether that feature request gets implemented is if someone
steps up and volunteers to spec it out and implement it.  Lots of
people saying "yes, I'd use that" is nice and all, but it's all kind
of pointless without someone who's willing to write down exactly how
it should work and then actually write the code.  If you are willing
to do either of thise things, the dev@ list is just down the hall,
first door on the left.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: limiting logs and diffs to specific nodes

Posted by Adam Monsen <ha...@gmail.com>.
On 9/13/06, Adam Monsen <ha...@gmail.com> wrote:
[...]

> For future reference, I filed issue #2609, "limiting logs and diffs to
> specific nodes". I gave it the same summary as the subject of this email
> thread.
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=2609
>
[...]

Does anyone really want this feature (besides me)? Anyone really exited
about it?

If so, speak up, and issue 2609 will have a better chance of becoming
implemented.

-- 
Adam Monsen

Re: limiting logs and diffs to specific nodes

Posted by Adam Monsen <ha...@gmail.com>.
On 9/13/06, Adam Monsen <ha...@gmail.com> wrote:
>
> On 9/13/06, Garrett Rooney <ro...@electricjellyfish.net> wrote:
> [...]
> > > What I'd like to be able to do is basically show logs for all nodes,
> > > but filter out "lib", ala:
> > >
> > > svn log --exclude=myrepo/trunk/lib myrepo/trunk
> > >
> > > Similarly for "diff":
> > >
> > > svn diff --exclude=myrepo/trunk/lib myrepo/trunk
> >
> > Unfortunately no, you can include multiple paths, but there's no way
> > to exclude them.
> [...]
>
> Ok, good to know; thank you. I'll file a feature request.
>
[...]

For future reference, I filed issue #2609, "limiting logs and diffs to
specific nodes". I gave it the same summary as the subject of this email
thread.

http://subversion.tigris.org/issues/show_bug.cgi?id=2609

-- 
Adam Monsen

Re: limiting logs and diffs to specific nodes

Posted by Adam Monsen <ha...@gmail.com>.
On 9/13/06, Garrett Rooney <ro...@electricjellyfish.net> wrote:
[...]
> > What I'd like to be able to do is basically show logs for all nodes,
> > but filter out "lib", ala:
> >
> > svn log --exclude=myrepo/trunk/lib myrepo/trunk
> >
> > Similarly for "diff":
> >
> > svn diff --exclude=myrepo/trunk/lib myrepo/trunk
>
> Unfortunately no, you can include multiple paths, but there's no way
> to exclude them.
[...]

Ok, good to know; thank you. I'll file a feature request.

-- 
Adam Monsen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: limiting logs and diffs to specific nodes

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/12/06, Adam Monsen <ha...@gmail.com> wrote:
> On 9/12/06, Garrett Rooney <ro...@electricjellyfish.net> wrote:
> > On 9/12/06, Adam Monsen <ha...@gmail.com> wrote:
> > > Is there a way to limit logs and diffs to specific nodes?
> > >
> > > For instance, say I want all log messages or all diffs from 0:HEAD, but only
> > > for specific files and/or directories in a repository. Is there a way to get
> > > this without parsing the log/diff output(s) myself?
> >
> > Uhh, how about svn log svn://server/repos/path/to/file/or/directory?
> >
> [...]
>
> Sorry, I asked wrong. Let me try again using an example or two. Given
> this repository layout:
>
> `-- myrepo
>     |-- branches
>     |-- tags
>     `-- trunk
>         |-- doc
>         |-- lib
>         `-- src
>
> What I'd like to be able to do is basically show logs for all nodes,
> but filter out "lib", ala:
>
> svn log --exclude=myrepo/trunk/lib myrepo/trunk
>
> Similarly for "diff":
>
> svn diff --exclude=myrepo/trunk/lib myrepo/trunk

Unfortunately no, you can include multiple paths, but there's no way
to exclude them.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: limiting logs and diffs to specific nodes

Posted by Adam Monsen <ha...@gmail.com>.
On 9/12/06, Garrett Rooney <ro...@electricjellyfish.net> wrote:
> On 9/12/06, Adam Monsen <ha...@gmail.com> wrote:
> > Is there a way to limit logs and diffs to specific nodes?
> >
> > For instance, say I want all log messages or all diffs from 0:HEAD, but only
> > for specific files and/or directories in a repository. Is there a way to get
> > this without parsing the log/diff output(s) myself?
>
> Uhh, how about svn log svn://server/repos/path/to/file/or/directory?
>
[...]

Sorry, I asked wrong. Let me try again using an example or two. Given
this repository layout:

`-- myrepo
    |-- branches
    |-- tags
    `-- trunk
        |-- doc
        |-- lib
        `-- src

What I'd like to be able to do is basically show logs for all nodes,
but filter out "lib", ala:

svn log --exclude=myrepo/trunk/lib myrepo/trunk

Similarly for "diff":

svn diff --exclude=myrepo/trunk/lib myrepo/trunk

-- 
Adam Monsen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: limiting logs and diffs to specific nodes

Posted by Garrett Rooney <ro...@electricjellyfish.net>.
On 9/12/06, Adam Monsen <ha...@gmail.com> wrote:
> Is there a way to limit logs and diffs to specific nodes?
>
> For instance, say I want all log messages or all diffs from 0:HEAD, but only
> for specific files and/or directories in a repository. Is there a way to get
> this without parsing the log/diff output(s) myself?

Uhh, how about svn log svn://server/repos/path/to/file/or/directory?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org