svetlyak40wt / dotfiler

Shell agnostic git based dotfiles package manager, written in Python.
238 stars 31 forks source link

Update command exists with error if there is git repository without upstream #6

Closed svetlyak40wt closed 10 years ago

svetlyak40wt commented 10 years ago

This is a traceback:

fatal: No remote repository specified.  Please, specify either a URL or a
remote name from which new revisions should be fetched.
Traceback (most recent call last):
  File "/Users/art/.dotfiles/bin/dot", line 43, in <module>
    arguments)
  File "/Users/art/.dotfiles/bin/lib/dot/core.py", line 364, in update
    make_pull(base_dir, env)
  File "/Users/art/.dotfiles/bin/lib/dot/core.py", line 352, in make_pull
    subprocess.check_call('git pull > /dev/null', shell=True)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 511, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'git pull > /dev/null' returned non-zero exit status 1

:disappointed: