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

Re: 4 bugs in svn diff (IssueZilla gives me Internal Server Error)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-04-28 15:34:28 CEST

Eric Gillespie <epg@pretzelnet.org> writes:

> Ben Collins-Sussman <sussman@collab.net> writes:
> > Eric, you misunderstand how 'svn diff' works. Sorry if 'svn help
> > diff' didn't make things clear, it's hard to communicate the complex
> > syntax of this subcommand.
> So how do you diff branches? Because svn has no branches, it is
> a necessity to be able to diff two paths, not just two revisions
> of the same path (though that is of course also a necessity).

Read the rest of the help on svn diff. As you said, the first use
case is all about the different ways you can diff versions of a single
path against itself.

  svn diff -r22:34 some/wc/path
  svn diff -r22:34 http://some/repos/path
  svn diff -r22 some/wc/path
  svn diff some/wc/path

This is the syntax that treats multiple paths as a list of independent
diff runs.

But the second use case mentioned in help allows you to diff two
arbitrary paths on the server, whether they be tags, branches, whatever:

  svn diff http://path/to/branch1 http://path/to/branch2
  svn diff http://path/to/branch1@51 http://path/to/branch2@78

> No, it need only read the data. If you have a WC that requires
> authentication, the checkout would have created the cache files.
> > Are you *sure* your https password is already cached in .svn when it
> Positive.

Then we should file a bug. I'll try to reproduce.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 28 15:37:33 2002

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

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