Re: [Boost-bugs] [Boost C++ Libraries] #10150: Regression testing can fail if you've modified files

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10150: Regression testing can fail if you've modified files
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-27 13:21:31


#10150: Regression testing can fail if you've modified files
------------------------------------------+--------------------------------
  Reporter: Niklas Angare <li51ckf02@…> | Owner: grafik
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: Regression Testing
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------+--------------------------------

Comment (by Niklas Angare <li51ckf02@…>):

 A similar problem occurs if you alternate between testing master and
 develop and have patches for files under boost_root:
 {{{
 # Executing GIT command: /extra/boost_regression/x86/boost_root> git
 submodule "update" "--init"
 Submodule path 'libs/mpl': checked out
 '1169c268564df2792cdaf18e61bb92b7f76fc851'
 # Executing GIT command: /extra/boost_regression/x86/boost_root> git
 checkout "master"
 error: Your local changes to the following files would be overwritten by
 checkout:
         boostcpp.jam
 Please, commit your changes or stash them before you can switch branches.
 Aborting
 Traceback (most recent call last):
   File "/extra/boost_regression/x86/run.py", line 83, in <module>
     runner(root)
   File "/extra/boost_regression/x86/tools_regression_src/regression.py",
 line 264, in __init__
     self.main()
   File "/extra/boost_regression/x86/tools_regression_src/regression.py",
 line 650, in main
     getattr(self,action_m)()
   File "/extra/boost_regression/x86/tools_regression_src/regression.py",
 line 588, in command_regression
     self.command_get_tools()
   File "/extra/boost_regression/x86/tools_regression_src/regression.py",
 line 314, in command_get_tools
     self.git_branch())
   File "/extra/boost_regression/x86/tools_regression_src/regression.py",
 line 915, in git_checkout
     self.git_command( 'checkout', branch)
   File "/extra/boost_regression/x86/tools_regression_src/regression.py",
 line 899, in git_command
     raise Exception( 'GIT command "%s" failed with code %d' % (git_cli,
 rc) )
 Exception: GIT command "git checkout "master"" failed with code 256
 }}}

 Git status shows this:
 {{{
 On branch develop
 Your branch is up-to-date with 'origin/develop'.

 Changes not staged for commit:
   (use "git add <file>..." to update what will be committed)
   (use "git checkout -- <file>..." to discard changes in working
 directory)
   (commit or discard the untracked or modified content in submodules)

         modified: boostcpp.jam
         modified: libs/interprocess (modified content)

 Untracked files:
 ...
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10150#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:16 UTC