0

Is it possible to diff a local directory (not a svn checkout) and a remote svn repository without checking out the repository to another local directory beforehand?

I need it for linux (debian) but the question is in general.

1

No. svn diff can not use irrelevant paths or URLs as parameters, they have to be part of repository or Working Copy.

But you can get empty WC from the same root as root of your directory tree, add tree from inversioned path into this WC and compare (modified WC vs URL). Read about --depth and --set-depth options also

  • Being able to compare files not in the repo or working copy would be a nice enhancement to Subversion. Yes, I know there is diff and fc; neither of which will inherently read from an http reference. – lit Feb 26 at 15:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.