Coder Social home page Coder Social logo

nailgun / unpushed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eapen/uncommitted

30.0 30.0 4.0 57 KB

Command-line tool to scan a filesystem for uncommitted and unpushed version control changes

Home Page: http://pypi.python.org/pypi/unpushed

License: MIT License

Python 100.00%

unpushed's People

Contributors

andor-pierdelacabeza avatar eapen avatar emkaroly avatar jamesdh avatar nailgun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

unpushed's Issues

Please add a license file

Can you please add a LICENSE file or at least mention licensing somewhere so people can know if it's ok to package/fork/etc?

crashes without mercurial installed

On encoutering folder with .hg subfolder this script attempts to call mercurial. If mercurial is not installed (may be typical today as git seems to won version control wars) this script crashes.

I would expect error message or even better - complaint ans skipping over such repository.

To reproduce - uninstall mercurial (if any is available), create folder, create subfolder named .hg, call this script to check location where test folder were created.

Traceback (most recent call last):
  File "/usr/local/bin/unpushed", line 9, in <module>
    load_entry_point('unpushed==1.1.0', 'console_scripts', 'unpushed')()
  File "/usr/local/lib/python2.7/dist-packages/unpushed/command.py", line 52, in main
    for status in scanner.scan_repos(repos, ignore_untracked=options.ignore_untracked):
  File "/usr/local/lib/python2.7/dist-packages/unpushed/scanner.py", line 61, in scan_repos
    for status in get_statuses(path, ignore_set, **options):
  File "/usr/local/lib/python2.7/dist-packages/unpushed/repos.py", line 11, in mercurial
    process = Popen(('hg', 'st'), stdout=PIPE, cwd=path)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 13] Permission denied

Bug is present also in parent - see eapen#7

fatal: bad revision 'master'

Not sure what it is caused by, but each time I run it I'll get a lot of this messages. I suppose it's always for unchanged repositories.

$ uname -a
Darwin picasso.local 13.3.0 Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64
$ python --version
Python 2.7.7
$ git --version
git version 2.0.0

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.