Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8479679
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:05:58+00:00 2026-06-10T19:05:58+00:00

Giving an example to explain the problem. I made some changes in source files

  • 0

Giving an example to explain the problem.

I made some changes in source files e.g: in folders:

project/foo/src
project/fun/src
.
.

The diff can be viewed as:

# svn diff -r 2000:2001 <svn url>

Then I made some changes in unit tests for the project, in folders:

project/foo/tst
project/fun/tst
.
.

The diff for these particular changes can be viewed as:

# svn diff -r 2001:2002 <svn url>

Later, I found some mistakes in source code, and made some changes in project/foo/src.
The diff for these particular changes can be viewed as:

# svn diff -r 2002:2003 <svn url>

Now, I need a single svn diff command to view the changes in source code alone (excluding unit test changes).

I could not find a single command to view non-consecutive changes (i.e 2000-2001, and 2002-2003). Is this possible some how (Note: I know with 2 separate diff command it is possible, I am trying to find out whether it is possible with a single command).

Or else, is it possible to give regular expression in svn url in the command.
i.e Something like:

# svn diff -r 2000:2001 <svn url pattern>
//where 'pattern' lists folders that does not contain 'tst' in name. 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:06:00+00:00Added an answer on June 10, 2026 at 7:06 pm

    I got the answer. 🙂

    You can create changelist for this.

    More details at: http://svnbook.red-bean.com/en/1.5/svn.advanced.changelists.html

    So I can create a changelist for source code changes, and another changelist for unit test changes.

    There is a drawback, that it can be used only on the working copy.

    Changelists are artifacts of a particular working copy, which means
    that changelist assignments cannot be propagated to the repository or
    otherwise shared with other users.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lemme explain my problem by giving an example: #include <iostream> class PC { public:
Can any of the Rhino experts explain me by giving a suitable example of
could anyone explain (by giving appropiate link for example) what does pointer alignment in
I've forked a project on GitHub that has some flash messages. For example, with
I'm currently writing about dynamic typing, and I'm giving an example of Excel interop.
I'm trying to run the google maps example but it keep giving me in
I've simplified my JavaScript code to the example below; this code is giving me
I'd like some help from the community, if possible. We have a project at
I am creating a C# application I will explain what I want by giving
My real-life example is too obscure to explain, but this is a pretty good

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.