Apologies for multiple posts.... I missed on pasting diff command for newly 
added, uncommitted file - 

E:\Prashima\Kite_Work\server\Kite>*diff -u --new-file DUMMY 
 src\main\java\edu\kite\controller\QuizController.java*
--- DUMMY       1970-01-01 08:00:00.000000000 +0800
+++ src\main\java\edu\kite\controller\QuizController.java       2013-05-05 
17:46:34.752452000 +0800
@@ -0,0 +1,14 @@
+/**
+ *
+ */
+package edu.kite.controller;
+
+/**
+ * Controller class for quiz.
+ *
+ * @author prashima
+ *
+ */
+public class QuizController {
+
+}

On Sunday, May 5, 2013 11:30:16 PM UTC+8, Prashima wrote:
>
> I looked into the issues little more. As per the debug output and 
> referring to the postreview.py code - 
> http://reviewboard.googlecode.com/svn/trunk/wxpostreview/postreview.py (Not 
> sure if I am referring to the right code here, please correct me if I am 
> wrong)
>
> def diff(self, files):
>         """
>         Performs a diff across all modified files in a Subversion repository.
>         """
>         return execute('svn diff --diff-cmd=diff %s' % ' '.join(files))
>
>
> 'svn diff --diff-cmd=diff <filenames> ' is the command that is getting used 
> to generate the diff for all the SVN files. But this command itself doesn't 
> work for uncommitted files, which are not versioned in svn. As the output 
> below also confirms.  
>
>
> E:\Prashima\Kite\server\Kite>svn diff --diff-cmd=diff 
> src\main\java\edu\kite\controller\QuizController.java
> svn: E150000: 
> 'E:\Prashima\Kite_Work\server\Kite\src\main\java\edu\kite\controller\QuizController.java'
>  
> is not under version control
>
>
> I could only generate diff for a newly added file using following command. 
> But I don't know yet how can I generate diff for set of files which have 
> both types of files - the ones that are under version control and the 
> uncommitted ones, which are not under version control.
>
> Any help this point onward?
>
>
> On Sunday, May 5, 2013 5:01:09 PM UTC+8, Prashima wrote:
>>
>> Hi,
>>
>> Does anyone has any idea about this problem? Specially for the case where 
>> post-review fails to post review for uncommitted, unversioned, new svn file.
>>
>>
>> Thanks
>>
>

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~----------~----~----~----~------~----~------~--~---
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
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to