------------------------------------------------------------------------------
To reply, visit https://hellosplat.com/s/beanbag/tickets/4425/
------------------------------------------------------------------------------

New update by rhabarbersaft
For Beanbag, Inc. > RBTools > Ticket #4425


Reply:

    Any update on this?
    If only a submodule changes, rbt will not pick up any changes in the diff.  
    
    For example, from git:
    $ git diff 6a66abddd345ec10af9c894e444598319ac120b4 
345e9b99e4d21d87887a28b554c33410dedb672a -v
    diff --git a/zephyr b/zephyr
    index 004b8b2..a013ce3 160000
    --- a/zephyr
    +++ b/zephyr
    @@ -1 +1 @@
    -Subproject commit 004b8b26c0b5ad7776089c578c636ac3e7acfd91
    +Subproject commit a013ce3bf07ace679eb5a4d2e62c3be2d7891d05
    
    
    From rbt:
    
    $ rbt post --debug -g
    >>> RBTools 1.0.1
    >>> Python 2.7.15 (v2.7.15:ca079a3ea3, Apr 30 2018, 16:22:17) [MSC v.1500 
32 bit (Intel)]
    >>> Running on Windows-10-10.0.16299
    >>> Home = C:\Users\ryan.erickson
    >>> Current directory = C:\git\Cell_IOT_Zephyr
    >>> Command line: rbt post --debug -g
    >>> Running: tf vc help
    >>> Checking for a Subversion repository...
    >>> Unable to execute "svn help": skipping SVN
    >>> Checking for a Git repository...
    >>> Running: git rev-parse --git-dir
    >>> Running: git config core.bare
    >>> Running: git rev-parse --show-toplevel
    >>> Running: git symbolic-ref -q HEAD
    >>> Running: git config --get branch.rb_test.merge
    >>> Command exited with rc 1: [u'git', u'config', u'--get', 
u'branch.rb_test.merge']
    ---
    >>> Running: git config --get branch.rb_test.remote
    >>> Command exited with rc 1: [u'git', u'config', u'--get', 
u'branch.rb_test.remote']
    ---
    >>> Running: git config --get remote.origin.url
    >>> Repository info: Path: 
g...@git.devops.lairdtech.com:cp_cellular/newcastle_firmware.git, Base pat      
                                                                 h: , Supports 
changesets: False
    >>> Checking for a Mercurial repository...
    >>> Running: hg root
    >>> Command exited with rc 255: [u'hg', u'root']
    abort: no repository found in 'C:\git\Cell_IOT_Zephyr' (.hg not found)!
    ---
    >>> Checking for a CVS repository...
    >>> Unable to execute "cvs": skipping CVS
    >>> Checking for a Perforce repository...
    >>> Unable to execute "p4 help": skipping Perforce
    >>> Checking for a Plastic repository...
    >>> Unable to execute "cm version": skipping Plastic
    >>> Checking for a ClearCase repository...
    >>> Unable to execute "cleartool help": skipping ClearCase
    >>> Checking for a Bazaar repository...
    >>> Unable to execute "bzr help": skipping Bazaar
    >>> Checking for a Team Foundation Server repository...
    >>> Unable to execute "tf help": skipping TFS
    >>> Running: git config --get reviewboard.url
    >>> Making HTTP GET request to http://review.devops.lairdtech.com/api/
    >>> Running: git rev-parse refs/heads/rb_test
    >>> Running: git config --get branch.rb_test.merge
    >>> Command exited with rc 1: [u'git', u'config', u'--get', 
u'branch.rb_test.merge']
    ---
    >>> Running: git config --get branch.rb_test.remote
    >>> Command exited with rc 1: [u'git', u'config', u'--get', 
u'branch.rb_test.remote']
    ---
    >>> Running: git rev-parse origin/master
    >>> Running: git rev-list 345e9b99e4d21d87887a28b554c33410dedb672a --not 
--remotes=origin
    >>> Running: git status --porcelain --untracked-files=no 
--ignore-submodules=dirty
    >>> Running: git version
    >>> Running: git -c core.quotepath=false -c diff.noprefix=false diff 
--no-color --full-index --ignor                                                 
                      e-submodules -M --no-ext-diff 
345e9b99e4d21d87887a28b554c33410dedb672a..6a66abddd345ec10af9c894e4445          
                                                             98319ac120b4
    >>> Generated diff size: 0 bytes
    Traceback (most recent call last):
      File "C:/Program Files 
(x86)/RBTools/bin/../Python27/Scripts/rbt-script.py", line 11, in <module>
        load_entry_point('RBTools==1.0.1', 'console_scripts', 'rbt')()
      File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-1.0.1-py2.7.egg\rbtools\co     
                                                                  
mmands\main.py", line 120, in main
        command.run_from_argv([RB_MAIN, command_name] + args)
      File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-1.0.1-py2.7.egg\rbtools\co     
                                                                  
mmands__init__.py", line 719, in run_from_argv
        exit_code = self.main(*args) or 0
      File "C:\Program Files 
(x86)\RBTools\Python27\lib\site-packages\rbtools-1.0.1-py2.7.egg\rbtools\co     
                                                                  
mmands\post.py", line 831, in main
        raise CommandError("There don't seem to be any diffs!")
    rbtools.commands.CommandError: There don't seem to be any diffs!

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

Reply via email to