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

RE: Diff with start of repository

From: Martyn West <martyn.west_at_exabre.com>
Date: 2007-02-23 18:31:06 CET

Hi Bob,

As I said I'm using a tool that plugs into SVN called Codestriker.
I appreciate that tool is not your problem, but I think what it expects
from a source code repository is fair.

What I need to be able to do is analogous to a cvs diff against version
1.0.

i.e. I want to be able to go something like:
svn diff -r 0:100 svn://server/repository/subdir

That'll give me the unified diff of all files in that directory for
revision 100 against an empty file, i.e. the contents of every file,
with the appropriate headers, with all lines marked with a +.

Please shout if you need more info.
Or I can provide an example of the cvs diff output.

Cheers,
Martyn

-----Original Message-----
From: Bob Hiestand [mailto:bob.hiestand@gmail.com]
Sent: 23 February 2007 17:12
To: Martyn West
Cc: users@subversion.tigris.org
Subject: Re: Diff with start of repository

On 2/22/07, Martyn West <martyn.west@exabre.com> wrote:

> If I just put the tag for the start tag I get: svn: Syntax error in
> revision argument '1840:'
> If I put it for the end tag I get: svn: Syntax error in revision
> argument ':1840'
>
> Hence the need for a version zero of something...
> The repository was migrated from a CVS repository, hence the first
> versions had a lot of code in.

Martyn,

  Please provide more specific scenarios, at least the diff commands
you're using.

Thank you,

Bob

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 23 18:31:17 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.