Yeah, TortoiseSVN definitely won't work. They generate slightly incompatible
diffs. We might be able to work around it at some point, but someone would
probably have to contribute a patch for that.

However, the "the system cannot find the file specified" error is definitely
Apache not finding patch.exe.

Maybe try rebooting? :)

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.review-board.org
VMware, Inc. - http://www.vmware.com


On Mon, Jun 29, 2009 at 4:52 PM, henriquecoelho <henrike.coe...@gmail.com>wrote:

>
> I should add that the diff file was generated with tortoisesvn,
> creating a patch... Is there any known issue creating the diff in this
> way?
>
> On 30 Jun, 00:37, Christian Hammond <chip...@chipx86.com> wrote:
> > GNU patch.exe must be in the path for this to work. It appears that it's
> not
> > able to find this.
> >
> > Christian
> >
> > --
> > Christian Hammond - chip...@chipx86.com
> > Review Board -http://www.review-board.org
> > VMware, Inc. -http://www.vmware.com
> >
> > On Mon, Jun 29, 2009 at 4:33 PM, henriquecoelho <
> henrike.coe...@gmail.com>wrote:
> >
> >
> >
> > > Hi all,
> >
> > > I'm having a problem viewing the diff file that i've upload in new
> > > review request. I've activated the debug level for reviewboard and i'm
> > > getting the following output when i access to view diff in right top
> > > corner:
> >
> > > [Error 2] The system cannot find the file specified
> >
> > > Traceback (most recent call last):
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\views.py", line 152, in view_diff
> > >    interdiffset, highlighting, True)
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 623, in get_diff_files
> > >    large_data=True)
> > >  File "c:\python25\lib\site-packages\Djblets-0.5-py2.5.egg\djblets
> > > \util\misc.py", line 143, in cache_memoize
> > >    data = lookup_callable()
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 622, in <lambda>
> > >    enable_syntax_highlighting),
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 345, in get_chunks
> > >    new = get_patched_file(old, filediff)
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 261, in get_patched_file
> > >    return patch(filediff.diff, buffer, filediff.dest_file)
> > >  File "c:\python25\lib\site-packages\ReviewBoard-1.0-py2.5.egg
> > > \reviewboard\diffviewer\diffutils.py", line 109, in patch
> > >    stderr=subprocess.STDOUT)
> > >  File "C:\Python25\Lib\subprocess.py", line 594, in __init__
> > >    errread, errwrite)
> > >  File "C:\Python25\Lib\subprocess.py", line 822, in _execute_child
> > >    startupinfo)
> > > WindowsError: [Error 2] The system cannot find the file specified
> >
> > > I'm not sure if this is sufficiently clear to you but if someone havy
> > > an ideia about this please let me know how to workaround this. I think
> > > that this could be due the problem with diff file so the steps that i
> > > made to upload the new review diff file were:
> >
> > > -New review request
> > > -choose the repository (example in my case)
> > > -base diff path : /
> > > -diff: c:\example\
> >
> > > The diff file:
> >
> > > Index: Apache2/conf/httpd.conf
> > > ===================================================================
> > > --- Apache2/conf/httpd.conf     (revision 3)
> > > +++ Apache2/conf/httpd.conf     (working copy)
> > > @@ -467,4 +467,29 @@
> > >        AllowOverride All
> > >  </Directory>
> >
> > > +<<<<<<< .mine
> > > +#<Location /moopion>
> > > +#  Order deny,allow
> > > +#  Allow from all
> > > +#</Location>
> > > +
> > > +#Alias /moopion "C:\example\source\example\web"
> > > +
> > > +#<Directory "C:\example\source\example\web">
> > > +#  AllowOverride All
> > > +#</Directory>
> > > +
> > > +<Location /sso>
> > > +  Order deny,allow
> > > +  Allow from all
> > > +</Location>
> > > +
> > > +Alias /sso "C:\example\source\sso\webdir"
> > > +
> > > +<Directory "C:\example\source\sso\webdir">
> > > +  AllowOverride All
> > > +</Directory>
> > > +
> > > +=======
> > > +>>>>>>> .r3
> > >  AllowEncodedSlashes On
> >
> > > Thanks in advance. Please if you need some specific further
> > > information, let me know.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to