[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: GUI Diff on Repository HEAD and "a" directory?

From: Craig Demyanovich <cdemyanovich_at_gmail.com>
Date: 2007-03-18 16:22:11 CET

On Mar 18, 2007, at 11:02 AM, Mark Phippard wrote:

> On 3/18/07, Tom Malia <tommalia@ttdsinc.com> wrote:
> Maybe I'm coming at this the wrong way… Is there a way to treat a
> subversion repository like any other directory in a file system?
> If I can do that, then I should be able to use any Diff tool that
> supports standard directory comparisons and point it at the
> Subversion repository directory for one of the sources and my
> "working" folder for the other. In scanning the posts to this
> forum, it looks like there is something that might let me do this?
> WebDav or something? If so, what's the bare minimum I would need
> to get this functional? Can I only do this if I use the Apache
> server to serve up the SVN repo?
>
> You need to be careful to select Reply to All with this mailing
> list so that the list is cc:ed.
>
> Generally, I would say the answer to your question is no. I do not
> recall VSS having this feature either, but I have not used it in
> years. VSS might have its own diff command that can do what you
> want, but I do not recall being able to treat a VSS repository like
> a file system.
>
> Subversion with WebDAV could potentially do this. But I think you
> would need a third party tool like WebDrive that lets you mount a
> WebDAV repository as a drive letter. And yes this all requires
> using the Apache server option. I think the performance would be
> pretty bad for something like this and I would not recommend it.
>
> Subversion does have the export command which will let you export a
> tree into a set of "vanilla" folders. You could then diff the
> export with the file system that you wanted to compare against.

Subversion and TortoiseSVN allow you to plug in other diff tools. So
you can use the diff command built-in to Subversion and TortoiseSVN
to compare your working copy against any revision in your repository,
while sending the results to some other tool. You might need to
consult your chosen diff tool's documentation, but here are the links
with which you could start.

Subversion:
http://svnbook.red-bean.com/nightly/en/svn-
book.html#svn.advanced.externaldifftools

TortoiseSVN:
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-diff.html

Regards,
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Mar 18 16:22:42 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.