Giter VIP home page Giter VIP logo

github-googledrive's People

Contributors

jonasle avatar

Watchers

 avatar

github-googledrive's Issues

Script fails on empty repo

error:

ERROR:gitbackup:<class 'sh.ErrorReturnCode_1'>
ERROR:gitbackup:

  RAN: '/usr/bin/git bundle create ../xxx.bundle --all'

  STDOUT:


  STDERR:
usage: git rev-list [OPTION] <commit-id>... [ -- paths... ]
  limiting output:
    --max-count=<n>
    --max-age=<epoch>
    --min-age=<epoch>
    --sparse
    --no-merges
    --min-parents=<n>
    --no-min-parents
    --max-parents=<n>
    --no-max-parents
    --remove-empty
    --all
    --branches
    --tags
    --remotes
    --stdin
    --quiet
  ordering output:
    --topo-order
    --date-order
    --reverse
  formatting output:
    --parents
    --children
    --objects | --objects-edge
    --unpacked
    --header | --pretty
    --abbrev=<n> | --no-abbrev
    --abbrev-commit
    --left-right
  special purpose:
    --bisect
    --bisect-vars
    --bisect-all
error: rev-list died

DEBUG:gitbackup:  File "./git_backup.py", line 59, in main
    performBackup(g, gd, data[1])
DEBUG:gitbackup:  File "./git_backup.py", line 22, in performBackup
    fn = gitclient.backup(repository)
DEBUG:gitbackup:  File "/home/jonas/Tass/Expert_Team/tass-github-googledrive/git.py", line 32, in backup
    self.lgr.debug(git.bundle.create('../'+filename, '--all'))
DEBUG:gitbackup:  File "/usr/lib/python2.7/site-packages/sh.py", line 769, in __call__
    return RunningCommand(cmd, call_args, stdin, stdout, stderr)
DEBUG:gitbackup:  File "/usr/lib/python2.7/site-packages/sh.py", line 330, in __init__
    self.wait()
DEBUG:gitbackup:  File "/usr/lib/python2.7/site-packages/sh.py", line 334, in wait
    self._handle_exit_code(self.process.wait())
DEBUG:gitbackup:  File "/usr/lib/python2.7/site-packages/sh.py", line 348, in _handle_exit_code
    self.process.stderr

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.