Development

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • limiting logs and diffs to specific nodes

    1 answers - 2245 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    From: Adam Monsen [mailto:haircut (AT) gmail (DOT) com]
    Sent: Sunday, September 17, 2006 7:40 PM
    To: users (AT) subversion (DOT) tigris.org
    Subject: Re: limiting logs and diffs to specific nodes
    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.
    []
    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.
    You might have better luck by showing precedence. The gnu diff in
    cygwin has the x options:
    -x PAT
    Exclude files that match PAT.
    -X FILE
    Exclude files that match any pattern in FILE.
    IM, you would definitely need the to be useful.
    And what pattern matching standard would you use? perl regex? S
    specific wildcards? something else?
    And is 1.4.0's "svn diff " an adequate workaround? Get the
    summary, filter out what you don't like, and run your log/diff on the
    filtered subset.
    And what does it mean to filter out 'svn log /lib'? Given
    that a single revision can contain changes to multiple directories, how
    exactly would that be implemented and how is it useful?
    Given the plethora of filtering tools (perl, sed, grep, find, ksh, etc.)
    why do we need a specific option to exclude files?
    I'm not saying it's a bad idea, but I do think it falls under "nice to
    have if it's free, but I wouldn't pay money for it."
    The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential, proprietary, and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from all computers. GA623
    To unsubscribe, e-mail: users-unsubscribe (AT) subversion (DOT) tigris.org
    For additional commands, e-mail: users-help (AT) subversion (DOT) tigris.org
  • No.1 | | 3535 bytes | |

    Hi Andrew,

    Thank you for your reply. At this point I'd like to migrate this
    conversation to the subversion "dev" mailing list, per Garrett Rooney's
    suggestion.

    For all you seeing this for the first time, I made a suggestion on the
    "users" mailing list that the svn client support excluding nodes with an
    "" (or similar) command line option during diffs and logs.

    For reference, here's the original thread on the "users" mailing list:

    And here's the relevant issue that has been filed. It is resolved INVALID
    pending mailing list acceptance, per Lieven Govaerts' decision.

    9/18/06, Ree****, Andrew < Andrew.Ree**** (AT) bellsouth (DOT) comwrote: []

    You might have better luck by showing precedence. The gnu diff in
    cygwin has the x options:
    -x PAT
    Exclude files that match PAT.

    -X FILE
    Exclude files that match any pattern in FILE.

    Precedence? Did you mean preference? If so, I concur. I should get off my
    lazy butt and write a spec, as Garrett has suggested.

    This will take me some time; I need to read some source. I need to troll the
    mailing lists looking to see how other features came to fruition and decide
    if this is something I want to do personally. Right now my only motivation
    is that it would be cool to participate in an awesome product that I use
    daily at work and at home. I need to balance that with the need to spend
    time with my family on nights and weekends, since that's when I'd be working
    on this. But enough about me. :)

    IM, you would definitely need the to be useful.

    Thank you for your suggestion.

    And what pattern matching standard would you use? perl regex? S
    specific wildcards? something else?

    I think simple is good, so the idea would be that nodes (and their children,
    if the nodes are directories) are filtered out explicitly, by name.
    Suggestions welcome, of course.

    And is 1.4.0's "svn diff " an adequate workaround? Get the
    summary, filter out what you don't like, and run your log/diff on the
    filtered subset.

    sounds nice! I hadn't heard of that, but I'll check it out. It
    would be much simpler to create my own filter using that.

    And what does it mean to filter out 'svn log /lib'?

    I'm confused this isn't what I wrote. Please refer to my original example
    and let me know if it still doesn't make sense.

    Given that a single revision can contain changes to multiple directories,
    how
    exactly would that be implemented

    I don't know how the implementation would work, but I don't think the fact
    that a a single revision can contain changes to multiple directories has any
    impact on this feature request.

    and how is it useful?

    It's useful in the same way that "grep -r " is.

    Given the plethora of filtering tools (perl, sed, grep, find, ksh, etc.)
    why do we need a specific option to exclude files?

    Convenience.

    For example, consider filtering out one directory (and its children) from a
    recursive, unified diff containing many directories. While entirely possible
    to hand-munge after the fact, this is much easier to do by using diff's
    "" and/or "".

    I'm not saying it's a bad idea, but I do think it falls under "nice to
    have if it's free, but I wouldn't pay money for it."

    []

    Fair 'nuff!

Re: limiting logs and diffs to specific nodes


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Development"

EMSDN.COM