Re: Review Board Ticket #4459: "File not found" when viewing a modified file which no longer exists as of the latest revision

2016-08-31 Thread David Trowbridge
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4459/
--

New update by cu
For Beanbag, Inc. > Review Board > Ticket #4459


Reply:

One last question. Are you using the PySVN or Subvertpy backend on the 
server?

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board Ticket #4459: "File not found" when viewing a modified file which no longer exists as of the latest revision

2016-08-31 Thread Charles U
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4459/
--

New update by cu
For Beanbag, Inc. > Review Board > Ticket #4459


Reply:

The repository information is nothing too remarkable, note that we do see 
this across all of our SVN repositories:

Hosting service: (None - Custom Repository)
Repository type: Subversion
Path: svn+ssh://reviewbo...@svn.example.net/testrepo

I wrote a script to automate the creation of review requests to aid in the 
reproduction of this bug:

```
#!/usr/bin/env bash

echo ''
echo 'This is a file named foo' > foo
svn add foo
rbt diff
rbt post
svn commit -m 'Add foo'

echo ''
echo 'This is a change to foo' >> foo
rbt diff
rbt post
svn commit -m 'Modify foo'

echo ''
svn rm foo
rbt diff
rbt post
svn commit -m "Delete foo"
```

Here is the very lightly redacted output (including requested rbt diff):

```

A foo
Index: /trunk/foo
===
--- /trunk/foo  (nonexistent)
+++ /trunk/foo  (working copy)
@@ -0,0 +1 @@
+This is a file named foo

Review request #41765 posted.

https://review.example.net/r/41765/
https://review.example.net/r/41765/diff/
Adding foo
Transmitting file data .done
Committing transaction...
Committed revision 132.

Index: /trunk/foo
===
--- /trunk/foo  (revision 132)
+++ /trunk/foo  (working copy)
@@ -1 +1,2 @@
 This is a file named foo
+This is a change to foo

Review request #41766 posted.

https://review.example.net/r/41766/
https://review.example.net/r/41766/diff/
Sendingfoo
Transmitting file data .done
Committing transaction...
Committed revision 133.

D foo
Index: /trunk/foo
===
--- /trunk/foo  (revision 133)
+++ /trunk/foo  (nonexistent)
@@ -1,2 +0,0 @@
-This is a file named foo
-This is a change to foo

Review request #41767 posted.

https://review.example.net/r/41767/
https://review.example.net/r/41767/diff/
Deleting   foo
Committing transaction...
Committed revision 134.
```

When looking at the diffs in review requests 41766 and 41767, the following 
error is displayed:

```
The file '("File not found: revision 134, path '/trunk/foo'", 160013)' 
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.
```

As you can see by the shell script and output, revision 134 didn't exist in 
Subversion when any of the review requests were posted.

Let me know if you need any further info.

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.


Re: Review Board Ticket #4459: "File not found" when viewing a modified file which no longer exists as of the latest revision

2016-08-31 Thread David Trowbridge
--
To reply, visit https://hellosplat.com/s/beanbag/tickets/4459/
--

New update by cu
For Beanbag, Inc. > Review Board > Ticket #4459


Reply:

Hmm. So what *should* be happening is that each time it uploads a diff, 
that diff contains revision information for the affected files, and then those 
revisions are fetched. The "latest" shouldn't matter at all.

Can you tell me how the repository is configured in the Review Board admin 
UI (maybe include a screenshot?), and if possible, could you make a change to a 
file and then upload the results of "rbt diff"?

-- 
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 https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.