Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3433 by nick.mai...@rockwellcollins.com: CVS file path stored incorrectly in database
http://code.google.com/p/reviewboard/issues/detail?id=3433

What version are you running?
Reviewboard 2.0.2
RBTools 0.6

What steps will reproduce the problem?
1. Use rbt to post a new review with diffs from a file already committed in CVS.
2. Look at the diffs in your outgoing review request in the web browser.

What is the expected output? What do you see instead?
I expect to see the diff between the two files (as shown with a simple CVS diff), but instead I get the following error:

 There was an error displaying this diff.

The file 'home/cvsroot/tiger/code/include/support/Attic/PlatformSpecific.h' (r1.2) could not be found in the repository

This may be a bug in the software, a temporary outage, or an issue with the format of your diff.

Please try again, and if you still have trouble, contact support.


What operating system are you using? What browser?
Ubuntu 14.04 on the client
Ubuntu 12.04 on the server
Google Chrome browser.

Please provide any additional information below.

The issue appears to be that the path to the file is missing a leading '/' when stored in diffset entry in the database (i.e. /home/cvsroot/...) . When reviewboard gets the file list from the database and attempts to post the diff, it can't find the original file, so it searches the CVS attic for the file instead (and also can't find it).

We had been using reviewboard 1.6.5 recently with CVS and it seemed to work fine.

I figured that I would post the issue here before I start digging into the code too much myself.


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.

Reply via email to