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

gitify init fails on windows #9

Open
rnestler opened this issue May 21, 2015 · 0 comments
Open

gitify init fails on windows #9

rnestler opened this issue May 21, 2015 · 0 comments

Comments

@rnestler
Copy link

On windows gitify init fails with

Traceback (most recent call last):
  File "c:\Python27\Scripts\gitify-script.py", line 9, in <module>
    load_entry_point('git-svn-helpers==0.9', 'console_scripts', 'gitify')()
  File "C:\Python27\lib\site-packages\gitsvnhelpers\gitify.py", line 177, in __call__
    self.commands.get(command, self.unknown)()
  File "C:\Python27\lib\site-packages\gitsvnhelpers\gitify.py", line 69, in __call__
    os.chdir(config.GIT_CACHE + package_name)
WindowsError: [Error 2] The system cannot find the file specified: 'c:/Users/rnestler/.gitcache/$PWD'

It looks like utils.basename() is broken on windows

rnestler added a commit to rnestler/git-svn-helpers that referenced this issue May 21, 2015
By using the functions from the os package we keep the code portable.
Fixes issue tomster#9
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

1 participant