5003: diff revision panel will display duplicate items when committing many added files by subversion (.h or .cpp or .vcxproj)


What version are you running?

rbtools 1.0.3
python 2.7
subversion 1.8.8

What's the URL of the page containing the problem?

What steps will reproduce the problem?

  1. using subversion commit many added items (it may contains 15 items or more)
  2. after rbt post, browse reviewboard
  3. click diff page, and diff revision panel will show that every items have shown twice or more (expected once)

What is the expected output? What do you see instead?

the expected output is that every items just display once instead twice or more

What operating system are you using? What browser?

windows 10
Microsoft Edge 112.0.1722.58

Please provide any additional information below.

with duplicate items, diff will show the content from every items even though they are the same.
I've debugged rbtools' .py code, and there seems no problem.

#1 david

A couple questions:

  • What version of Review Board?
  • Do you know if the server is using the pysvn or subvertpy backend?
  • If you run "rbt diff", does the printed diff have duplicated files in it?
  • -New
#2 wenjialee

1.version of review board is 3.0.18
2.I dont know which backend the server is using. Maybe I'll add this information later
3.I've tried to run "rbt diff", and the printed diff content are correct. By the way, when I was debugging svn.py and review_request.py, the diff content at runtime seemed the same as what "rbt diff" printed.