[PATCH hglib RESEND] hglib: fix hg clone --uncompressed option typo (issue5458)

Augie Fackler raf at durin42.com
Mon Apr 3 14:50:25 EDT 2017


On Mon, Apr 03, 2017 at 11:47:07AM -0400, Long Vu wrote:
> On Wed, Mar 29, 2017 at 6:25 AM, Ryan McElroy <rm at fb.com> wrote:
> > This patch looks like a pretty clear fix of a typo... should be
> > straightforward to review. It's already been marked pre-reviewed.
> >
> > However, I don't see mpm in the cc list? So adding him direct to:
> >
>
> Looks like Matt is on vacation?
>
> Can someone else than him pull my very simple patch to
> https://selenic.com/repo/python-hglib?

Only mpm has access to selenic.com - we'll need him to either push the
patch or set up a redirect so that we can move that repository to live
in mercurial-scm.org.

>
> I will be using hglib for a go-live and I'd much prefer to pull from
> the official repo.

I understand and sympathize, but I can't help without mpm's help. :)

>
> Thanks.
>
>
> > ~Ryan
> >
> >
> >
> > On 3/28/17 9:08 PM, Kevin Bullock wrote:
> >>
> >> Adding Matt to direct Cc:, who I think is still the sole maintainer of
> >> python-hglib (though that's still on our list to change, I think).
> >>
> >> pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
> >> Kevin R. Bullock
> >>
> >>> On Mar 24, 2017, at 09:05, Long Vu <t.long.vu at gmail.com> wrote:
> >>>
> >>> # HG changeset patch
> >>> # User Long Vu <long at tlvu.ca>
> >>> # Date 1490322881 14400
> >>> #      Thu Mar 23 22:34:41 2017 -0400
> >>> # Node ID 820d7c1e470aaa11dad8f33e9161179a8115cef6
> >>> # Parent  ae38fb772613604dac7fcf63705e8a2a17ff50cd
> >>> hglib: fix hg clone --uncompressed option typo (issue5458)
> >>>
> >>> Was getting error.CommandError
> >>> "hg clone: option --uncompresses not recognized".
> >>>
> >>> diff --git a/hglib/__init__.py b/hglib/__init__.py
> >>> --- a/hglib/__init__.py
> >>> +++ b/hglib/__init__.py
> >>> @@ -28,7 +28,7 @@
> >>>            insecure=False, encoding=None, configs=None):
> >>>      args = util.cmdbuilder('clone', source, dest, noupdate=noupdate,
> >>>                             updaterev=updaterev, rev=rev, branch=branch,
> >>> -                           pull=pull, uncompresses=uncompressed,
> >>> +                           pull=pull, uncompressed=uncompressed,
> >>>                             e=ssh, remotecmd=remotecmd,
> >>> insecure=insecure)
> >>>
> >>>      args.insert(0, HGPATH)
> >>> diff --git a/tests/test-clone.py b/tests/test-clone.py
> >>> --- a/tests/test-clone.py
> >>> +++ b/tests/test-clone.py
> >>> @@ -11,3 +11,6 @@
> >>>          self.assertRaises(ValueError, cloned.log)
> >>>          cloned.open()
> >>>          self.assertEquals(self.client.log(), cloned.log())
> >>> +
> >>> +    def test_clone_uncompressed(self):
> >>> +        hglib.clone(b('.'), b('cloned'), uncompressed=True)
> >>>
> >
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at mercurial-scm.org
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
>
>
> --
> Long Vu | Build Controller | Intelerad | +1-514-931-6222 ext. 7743
>
> --
>
> This email or any attachments may contain confidential or legally
> privileged information intended for the sole use of the addressees. Any
> use, redistribution, disclosure, or reproduction of this information,
> except as intended, is prohibited. If you received this email in error,
> please notify the sender and remove all copies of the message, including
> any attachments.
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list