Well if I hack the file to look exactly like the svn diff output I get
the 'patch didn't apply cleanly' issue, which is expected i guess.

The patch command doesn't output anything. It just fails silently and
doesn't leave me with any additional file (I'm assuming the patched
file would appear in the same directory the patch command was run in).
As a side note I'm using diff and patch from diffutils, should
I try patchutils under cygwin (Is that even possible? my cygwin
experience is zilch)

Maybe off-topic but is it possible that tortoiseSVN touching my
repository messed things up?

Ok maybe I missed a step somewhere. I haven't touched Cygwin except to
install patchutils? All I have done is (beyond installing many

- Edit the settings.py file to add my mysql database info, add myself
as admin, and set debug=true
- Give all permissions to review board mysql user on the review board
database (which i created)
- create a superuser
- run the dev server at my IP port 8000 with the following output:

C:\SVN\reviewboard>manage.py runserver
Running dependency checks (set DEBUG=False to turn this off)...
Warning: p4python (>=07.3) not found.  Perforce integration will not
Warning: hg not found.  Mercurial integration will not work.
Warning: PyLucene (with JCC) is required to enable search. See the
 for instructions.
Warning: Syntax highlighting requires the Pygments library, which is
not install
Warning: git binary not found.  Git integration will not work.
Warning: mtn binary not found.  Monotone integration will not work.

Please see http://code.google.com/p/reviewboard/wiki/GettingStarted
for help setting up Review Board.

Validating models...
0 errors found

Django version 1.0.2 final, using settings 'reviewboard.settings'
Development server is running at
Quit the server with CTRL-BREAK.

Am I missing something?

On Jan 6, 8:47 pm, "Muhammad Haggag" <mhag...@gmail.com> wrote:
> On Tue, Jan 6, 2009 at 10:15 AM, SamClark <pimp.roc...@gmail.com> wrote:
> > So... a few things. I haven't mentioned in this post that I'm on a
> > windows machine. Maybe I should
> I was doing all this stuff on a Windows machine too, so don't worry.
> It should work in the end :)
> > Running at the command line:
> > svn 
> > cathttp://localhost/svnrepo/Firmware/Projects/Hello/branches/Hello_b_1_0...
> > -r 11 >old
> > svn 
> > cathttp://localhost/svnrepo/Firmware/Projects/Hello/branches/Hello_b_1_0...
> > -r 12 >new
> > diff -u old new >patch
> > Yields this output for the file 'patch':
> > -------------------------------------------------------
> > --- old 2009-01-06 10:16:19.834724200 -0700
> > +++ new 2009-01-06 10:16:08.943681000 -0700
> > @@ -5,6 +5,7 @@
> >  int main(void)
> >  {
> >        printf("There are %d months in a year", TWELVE);
> > +    printf("Another revision");
> >        return;
> >  }
> > -------------------------------------------------------
> > I can't seem to produce an output file using:
> > patch -u --input=patch --output=patched old
> What does patch say? The patch file looks fine to me. I actually can't
> see any difference between this and the one produced by svn diff.
> > Which leads me to believe patch doesn't understand my patch. I tried
> > to post a new review by hand using the above file 'patch'. Review
> > board told me it couldn't parse the first line (Unable to parse diff
> > revision header '2009-01-06 10:16:19.834724200 -0700').
> That's expected, because the svn patch parser expects svn patches
> (which contain revision numbers after file paths). You can fix it
> manually if you want to, by mimicking what svn diff outputs for the
> files (i.e. revision 11/12 etc)
> Regards
> --
> Muhammad Haggag- Hide quoted text -
> - Show quoted text -
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to reviewboard@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to