Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails for repos with local ahead changes with upstream behind #33

Closed
childnode opened this issue Sep 22, 2016 · 1 comment
Closed

fails for repos with local ahead changes with upstream behind #33

childnode opened this issue Sep 22, 2016 · 1 comment

Comments

@childnode
Copy link

ℹ️ current gitup dev@f7a060af

The repo:

 == BRANCHES == 
* master  7f6c811 [origin/master] some changes
  master2 b72feb7 [origin/master: 160 ahead, 100 behins] some playground changes

the error:

/home/marcel/Projects/repo (1 repo):
    repoName:
       Fetching origin (66/66): branch update (master).
        Updating master: done.
        Updating master2: Traceback (most recent call last):
  File "/usr/local/bin/gitup", line 11, in <module>
    load_entry_point('gitup==0.4.dev0', 'console_scripts', 'gitup')()
  File "build/bdist.linux-x86_64/egg/gitup/script.py", line 137, in run
  File "build/bdist.linux-x86_64/egg/gitup/script.py", line 129, in main
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 254, in update_directories
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 240, in _dispatch
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 179, in _update_repository
  File "build/bdist.linux-x86_64/egg/gitup/update.py", line 118, in _update_branch
  File "/usr/local/lib/python2.7/dist-packages/GitPython-2.0.8-py2.7.egg/git/cmd.py", line 466, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/GitPython-2.0.8-py2.7.egg/git/cmd.py", line 934, in _call_process
    return self.execute(make_call(), **_kwargs)
  File "/usr/local/lib/python2.7/dist-packages/GitPython-2.0.8-py2.7.egg/git/cmd.py", line 718, in execute
    raise GitCommandError(command, status, stderr_value)
git.exc.GitCommandError: 'git merge-base b72feb7eefef00573061934097cd64266ad60a40 7f6c811d0f7b5896f2f49035a8190176a6cbeb01' returned with exit code 1

@childnode childnode changed the title failes for repos wirh local deprecated but unpushed changes with upstream fails for repos with local ahead changes with upstream behind Sep 22, 2016
@earwig
Copy link
Owner

earwig commented Feb 7, 2018

Super-delayed response, but I think this is fixed by a4810c3.

@earwig earwig closed this as completed Feb 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants