without --reverse i get an error, it works with --reverse
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | i1494488-7.patch | 757 bytes | attiks |
| #3 | i1494488_0.patch | 883 bytes | jelle_s |
| #2 | i1494488.patch | 887 bytes | attiks |
| #1 | i1494488.patch | 889 bytes | attiks |
without --reverse i get an error, it works with --reverse
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | i1494488-7.patch | 757 bytes | attiks |
| #3 | i1494488_0.patch | 883 bytes | jelle_s |
| #2 | i1494488.patch | 887 bytes | attiks |
| #1 | i1494488.patch | 889 bytes | attiks |
Comments
Comment #1
attiks commentedPatch attached
Comment #2
attiks commentedwhite space removed
Comment #3
jelle_sI got an error applying the patch:
Here's the updated patch:
Comment #4
jcnventuraI'm running today's grn-6.x-2.x-dev release with git 1.7.9.5 on Ubuntu 12.04.
I get no errors whatsoever. The only issue here would be two spaces instead of one, so the patch could be simplified by removing the space before the %s for the reverse option and adding it to the beginning of the '--reverse' string.
Anyway, this seems to be a platform-specific problem, or some problem with a specific version of git.
Comment #5
attiks commentedThis only happens if you apply #1253356: use two most recent tags as defaults
Comment #6
jcnventuraI applied #1253356: use two most recent tags as defaults, didn't apply this one, and still have no problems.
Since you wrote the patch, you know the only functional difference is whether there's two spaces in the git commnand line between the format and the tags or only one. What kind of system are you using that cares about that?
Also, I'm using the latest Drush release: 7.x-5.2, which may explain better why I don't have the problem.
Comment #7
attiks commentedgit version 1.7.9
drush 4.5
Ubuntu 10.04
It is the spaces, don't ask why but this works:
This doesn't work!
Comment #8
attiks commentedBTW I was wrong in #5, it happens with the original version as well
Comment #9
attiks commentedI created a new combined patch in #1253356: use two most recent tags as defaults, seems it is specific to the drush version since the git part works.
Comment #10
jcnventura@attiks: is this reverse patch still necessary for you?
My drush grn still works perfectly without it, and it really seems like a hack to solve some unknown problem elsewhere.
My dev server is still on Ubuntu 12.04 (LTS) with git 1.7.9.5, but Drush is now 8.x-6.0-beta1
Comment #11
attiks commented