Chris,

On Sun, Aug 5, 2012 at 6:23 PM, Chris Smith <[email protected]> wrote:
> Where are you supposed to clone pull-request? in the same directory
> that contains sympy, or sympy?
>
>
> chriss@CHRIS-LT ~/sympy (combsimp)
> $ cd ..
>
> chriss@CHRIS-LT ~
> $ git clone https://github.com/splitbrain/git-pull-request.git
> Cloning into git-pull-request...
> remote: Counting objects: 42, done.
> remote: Compressing objects: 100% (18/18), done.
> remote: Total 42 (delta 13), reused 38 (delta 10)
> Unpacking objects: 100% (42/42), done.
>
> chriss@CHRIS-LT ~
> $ cd git-pull-request/
>
> chriss@CHRIS-LT ~/git-pull-request (master)
> $ git pull-request 1462
> /usr/bin/env: python2: No such file or directory
> git: 'pull-request' is not a git command. See 'git --help'.
>
> Did you mean this?
>         pull-request
>
> chriss@CHRIS-LT ~/git-pull-request (master)
> $ git pull-request
> /usr/bin/env: python2: No such file or directory
> git: 'pull-request' is not a git command. See 'git --help'.
>
> Did you mean this?
>         pull-request
>
> chriss@CHRIS-LT ~/git-pull-request (master)
> $ git pull-request 19
> /usr/bin/env: python2: No such file or directory
> git: 'pull-request' is not a git command. See 'git --help'.
>
> Did you mean this?
>         pull-request


Just apply the following patch to git-pull-request:


diff --git a/git-pull-request b/git-pull-request
index 2877f29..53ae23b 100755
--- a/git-pull-request
+++ b/git-pull-request
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python

 """git pull-request



That should fix it. Here is how I use it:


ondrej@hawk:~$ cd repos/sympy
ondrej@hawk:~/repos/sympy(master)$ git pull-request
loading open pull requests for sympy/sympy ...

REQUEST 1465 - SymPy Live Sphinx extension
    lidavidm:live_sphinx_extension
    by lidavidm 2012-08-04
    https://github.com/sympy/sympy/pull/1465

REQUEST 1462 - combsimp fix
    smichr:combsimp
    by smichr 2012-08-04
    https://github.com/sympy/sympy/pull/1462

...

REQUEST 1360 - Reformat the Basic.rewrite docstring
    Krastanov:rewrite
    by Krastanov 2012-06-17
    https://github.com/sympy/sympy/pull/1360

ondrej@hawk:~/repos/sympy(master)$ git pull-request 1360
loading pull request info for request 1360...

REQUEST 1360 - Reformat the Basic.rewrite docstring
    Krastanov:rewrite
    by Krastanov 2012-06-17
    https://github.com/sympy/sympy/pull/1360

Switched to branch 'pull-request-1360'
pulling from git://github.com/Krastanov/sympy.git (rewrite)
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 4), reused 1 (delta 0)
Unpacking objects: 100% (5/5), done.
>From git://github.com/Krastanov/sympy
 * branch            rewrite    -> FETCH_HEAD
Auto-merging sympy/core/basic.py
Merge made by the 'recursive' strategy.
 sympy/core/basic.py |   49 ++++++++++++++++++++++++++++++-------------------
 1 file changed, 30 insertions(+), 19 deletions(-)

done. examine changes and merge into master if good
ondrej@hawk:~/repos/sympy(pull-request-1360)$




Ondrej

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to