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

Pull request #45 breaks Makefile #47

Open
ghost opened this issue Sep 22, 2014 · 3 comments
Open

Pull request #45 breaks Makefile #47

ghost opened this issue Sep 22, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 22, 2014

The cbee707 commit pulled in with #45 breaks Makefile.

This involves a
-$(GITHG_F): $(GITHG_S)
+$(GITHG_F): $(HGFE_D)
change which in turn make $< in rule
$(SED) 's|GITHG_HOME=.*|GITHG_HOME=$(GITHGEXECDIR)|' $< > $@
resolve to fast-export rather than bin/git-hg

Which is wrong and it causes this to happen:

$ make
rm -rf fast-export
git submodule update --init
Submodule path 'fast-export': checked out 'f2491e83b038a27bc4a64a34b4bccb557734ab3a'
mkdir -p build
sed 's|GITHG_HOME=.*|GITHG_HOME=/usr/local/lib/git-hg|' fast-export > build/git-hg
sed: read error on fast-export: Is a directory
make: *** [build/git-hg] Error 4
@meekrosoft
Copy link

I am facing this issue on cygwin also. When I run git-hg afterwards it still seems to work though. Is it safe to continue working this way?

@ghost
Copy link
Author

ghost commented Nov 5, 2014

It appears so, yes. The bug makes the Makefile useless, but otherwise the unmodified git-hg should be fully functional. The failed sed command affects the search order for hg-fast-export, but in any case git-hg will spew out errors if it can't find it.

So unless you get "error: executable not found, hg-fast-export.sh", it's perfectly safe.

@meekrosoft
Copy link

Thanks for the confirmation!

cosmin added a commit that referenced this issue Mar 14, 2015
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