On Sun, Jul 12, 2009 at 11:40 PM, David Carson<dccar...@gmail.com> wrote:
> By the way, I also forgot to ask about the syntax for doing diffs in SVN.
> The mouse-over text help on the Create Topic screen says "svn -uN" I
> believe, but these options are not available.  The -u is the default for
> SVN, the -N I'm not sure about, but it could be passed using the
> 'pass-through' option I suppose.

I think it might have been available at some point, but basically '-u'
is all you need now - it seems to include added/removed files by
default.  I'll update the text.

> But I also noticed that my diff does not contain full paths to the files,
> just paths relative to the CWD where I did the diff.  I believe CVS puts the
> full RCS path in its diff and I'm wondering how Codestriker can figure out
> how to show the diff via ViewVc when it does not have a complete path to
> use.  Perhaps there is an svn option I'm missing.

Sadly.. the subversion people decided to create diffs in this silly
format.  I mentioned this to them years ago, but they basically
ignored it.  At least CVS did the right thing here.

What this means, is you need to run your diff commands from the
"top-level" of your project, and make sure the repository you select
matches it, so that together, the paths become the full path of the
file in the subversion repository.

Its a bit of a pain, but it works.  Its partially for this reason a
lot of people use Subversion in post-commit review mode, as you don't
have to worry about this.

Cheers,
David

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Codestriker-user mailing list
Codestriker-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/codestriker-user

Reply via email to