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

  • Home
  • SEARCH
  • 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 3234772
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:25:49+00:00 2026-05-17T17:25:49+00:00

In my project another dev reorganised some files, and now I’m having some issues

  • 0

In my project another dev reorganised some files, and now I’m having some issues getting at the diffs of them 🙁 I started out thinking that it’d be nice to get webSVN to be able to show these diffs, now I’d just like to be able to see them myself!

I know that the ‘svn way’ is to treat deletion as an operation on the parent directory, but my problem is compounded by the fact that the files were in a subdirectory, which has been deleted.

Original structure:

 conf/
      files/
            configfile1
            configfile2

Here’s what happened:

$ svn log -vr 5
...
D /conf/files
A /conf/combined_configfile

What I’m trying to get is a diff of the changes previously introduced in the config files, before the delete happened. Something like this would be nice:

svn diff -r 2:4 conf/files/configfile1
svn: 'conf/files' is not a working copy
svn: 'conf/files' does not exist

or even:

svn diff -r 2:4 'conf/files'
svn: 'conf/files' is not under version control

or how about:

svn diff -r 2:4 'https://svnhost.localdomain/project1/conf/files'
svn: '/proj1/!svn/bc/1343/conf/files' path not found

It seems like the only way to get at this history is through svn operations on a directory that’s currently present in the head revision of the repository (conf/ in this case), widening the scope of the diff massively.

Surely there must be a better way?

  • 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-05-17T17:25:49+00:00Added an answer on May 17, 2026 at 5:25 pm

    svn diff has several forms of usage

    one if them is

    diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]
    

    It’s better than -r option when directory structure of the project is changed. Try this:

    svn diff  https://svnhost.localdomain/project1/conf/files@2 https://svnhost.localdomain/project1/conf/files@4
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For some reason, my visual studio 2008 installation doesn't have the Create Test Project
I just started to play with android dev and java+eclipse is pretty new to
I have all my views in a project inheriting from a ViewBase class that
Regarding Android >= 2.0.1. This speaks for Application type of project: The provided sample
Is there a way to have visual studio automatically copy files I save in
we have a solution with multiple projects that is being developed by a team
I am in the following predicament, i currently use Subversion for my source control
Our development team uses Eclipse + Aptana to do their web development work. Currently,
Using Visual Studio 2008 on Vista 64 bit, if I create a test web
I have a couple of projects that I'm working on in Eclipse (or any

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.