------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4608/
------------------------------------------------------------------------------
New ticket #4608 by theBoss
For Beanbag, Inc. > RBTools
Status: New
Tags: Priority:Medium, Type:Defect
------------------------------------------------------------------------------
rbt post doesn't show moved/renamed files in review for git-svn repository
==============================================================================
# What version are you running?
0.7.10
# What steps will reproduce the problem?
1. clone repository: git svn clone ...
2. git mv file file_moved
3. git commit -m ""
4. rbt post --summary 'Some summary' --description 'Some description'
# What is the expected output? What do you see instead?
Review should be posted and file visible as moved
ERROR: Error validating diff
The specified diff file is empty. (HTTP 400, API Error 219)
# What operating system are you using?
Arch Linux
# Attach the debug out from the command.
```
>>> Got API Error 219 (HTTP code 400): The specified diff file is empty.
>>> Error data: {u'stat': u'fail', u'err': {u'msg': u'The specified diff file
>>> is empty.', u'code': 219}}
Traceback (most recent call last):
File "/usr/bin/rbt", line 11, in <module>
load_entry_point('RBTools==0.7.10', 'console_scripts', 'rbt')()
File "/usr/lib/python2.7/site-packages/rbtools/commands/main.py", line 133,
in main
command.run_from_argv([RB_MAIN, command_name] + args)
File "/usr/lib/python2.7/site-packages/rbtools/commands/__init__.py", line
663, in run_from_argv
exit_code = self.main(*args) or 0
File "/usr/lib/python2.7/site-packages/rbtools/commands/post.py", line 812,
in main
(msg_prefix, e))
rbtools.commands.CommandError: Error validating diff
The specified diff file is empty. (HTTP 400, API Error 219)
```
# Please provide any additional information below.
rbt diff shows:
```
Index: file
===================================================================
similarity index 100%
rename from file
rename to file_moved
```
If file contains some modifications, all are visible as changes in old name
'file'
------------------------------------------------------------------------------
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/d/optout.