minor error in patch.py's extract() docstring

Martin Geisler mg at aragost.com
Thu Jul 22 03:46:34 CDT 2010


Dan Drake <drake at kaist.edu> writes:

> Hello,
>
> In mercurial/patch.py, the function extract() claims to return a tuple
> with 7 elements, but it actually returns a tuple with 8 elements -- it
> also returns the branch if found. I'm attaching a patch to fix that.
>
> Please CC me in any replies, as I'm not subscribed to the list.
>
> Thanks!
>
> Dan
>
> PS: I find it amusing that the function I'm patching is the very one
> that will process the patch file I've attached. :)

Hehe, that is indeed kind of cute :-)

I changed the commit message slightly and pushed this to the stable
branch as 88b89ace643b. Thanks!

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list