Hi Guys,

I am trying to use perforce + reviewboard to setup a server at my
company.
I have used reviewboard with mercurial earlier with no issues.

Issue-desc:

read diff I want to submit
@@ -2,3 +2,4 @@
#dude doesn't use Rules.mak (yet).  However, some of the newer
additions
# to dude use tools/Rules.mak, and some rules in tools/Rules.mak have
# dependencies on it.  This dummy file is here until we have time to
convert
+#tets how is this working....

$:~/ReviewBoard$ cat .reviewboardrc
# Default Review Board Server
REVIEWBOARD_URL = 'http://dude.xcsd.com/reviews/'
DIFF = "/usr/bin/diff.exe"

When I try do a dry run, it shows this:

$ post-review -d --summary="check this out-III, just diff file" --
description="third,I would expect a one line change in my diff file" //
user/reviewboard/components/dude/mainline/Rules.mak -n
>>> git rev-parse --git-dir
>>> hg root
>>> p4 info
>>> repository info: Path: ccs.xcsd.com:1666, Base path: None, Supports 
>>> changesets: True
>>> Writing "//user/reviewboard/components/dude/mainline/Rules.mak#1" to 
>>> "/tmp/tmpryM2hQ"
>>> p4 print -o /tmp/tmpryM2hQ -q 
>>> //user/reviewboard/components/dude/mainline/Rules.mak#1
>>> diff -urNp /tmp/tmp5G6dK9 /tmp/tmpryM2hQ
--- //user/reviewboard/components/dude/mainline/Rules.mak   //user/
reviewboard/components/dude/mainline/Rules.mak#0
+++ //user/reviewboard/components/dude/mainline/Rules.mak   2010-08-06
12:15:52
@@ -0,0 +1,4 @@
+#dude doesn't use Rules.mak (yet).  However, some of the newer
additions
+# to dude use tools/Rules.mak, and some rules in tools/Rules.mak have
+# dependencies on it.  This dummy file is here until we have time to
convert
+# the rest of dude to truly use the common rules in tools/Rules.mak.

I don't know how "  /tmp/tmp5G6dK9" file is generated.
Atleast from the logs it looks like this file is not even attempted to
be created.

If I skip  the '-n' and run it, I dont see the real diff, rather I see
a complete file.
Has anyone seen the same issue. Any help is appropriated. am I missing
something.

Thanks,
Krish James

-- 
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

Reply via email to