-
Notifications
You must be signed in to change notification settings - Fork 57
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
Not possible to get specific commit #50
Comments
If you want to apply a single commit, you can use something like this
|
I think what I meant to do here was not to cherry-pick a single commit, but to checkout the branch at a certain commit (branch pinning). However I think it is implemented by this patch I just have to change
to
So this can be closed. |
I don't think that patch enables that as-is, I wrote c5bbedf on top of it to support that. |
@janverb Is that in a PR at the moment? |
Not yet. I'd have to add some documentation to make it PR-ready, and it would be nice to have #29 merged first. |
Can you check if this works better with the last release, which changed the strategy to clone+fetch. |
I've checked, and yes, this particular example now works better with the clone+fetch strategy. I've also checked a more complicated example with several sources:
Which works, so this can be closed. |
I'm using latest gitaggregator 1.8.1.
I'm running
gitaggregate --expand-env --config repos.yaml --jobs 4 aggregate
I have this in my config file:
I'm getting:
Traceback (most recent call last):
File "/data/buildout/freshfilter/.venv/lib/python2.7/site-packages/git_aggregator/main.py", line 219, in aggregate_repo
repo.aggregate()
File "/data/buildout/freshfilter/.venv/lib/python2.7/site-packages/git_aggregator/repo.py", line 191, in aggregate
self._merge(merge)
File "/data/buildout/freshfilter/.venv/lib/python2.7/site-packages/git_aggregator/repo.py", line 270, in _merge
self.log_call(cmd, cwd=self.cwd)
File "/data/buildout/freshfilter/.venv/lib/python2.7/site-packages/git_aggregator/repo.py", line 160, in log_call
ret = callwith(cmd, **kw)
File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
raise CalledProcessError(retcode, cmd)
CalledProcessError: Command '(u'git', u'pull', u'--no-edit', u'--quiet', u'--depth', '100', 'origin', '6105fb108c2fa27fee68bab7a5fb9af95e4166e')' returned non-zero exit status 1
The text was updated successfully, but these errors were encountered: