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

Subdirectory defect? #64

Open
treaves opened this issue Feb 22, 2016 · 2 comments
Open

Subdirectory defect? #64

treaves opened this issue Feb 22, 2016 · 2 comments

Comments

@treaves
Copy link

treaves commented Feb 22, 2016

This may well be something I'm doing wrong, but, when files are synced (this is a new install), any file in the root directory gets copied over to my git directory correctly, but, the sync fails with the first file is a sub-directory. When the copy command is called, the directory name is being stripped off, so a file not found exception is raised.

This happens if I init with a Windows style or unix style path to the gitcc init call.

I'm using Cygwin on Windows.

Any ideas?

@treaves
Copy link
Author

treaves commented Feb 22, 2016

In the file sync.py, line 18 base = abspath(CC_DIR) turns
V:/treaves_COL4.0/eqsys_col/
into
/home/p603764/Development/test-gitcc/V:/treaves_COL4.0/eqsys_col/

Changing the line to base = CC_DIR and it works.

@charleso
Copy link
Owner

Honestly sync is pretty terrible and not going anything more complicated than copying files, committing them to git and then adding the appropriate git-cc tags.

In any case, glad you solved the problem

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