Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2020 08:48:59 -0300
From:      Renato Botelho <garga@FreeBSD.org>
To:        Ed Maste <emaste@freebsd.org>, FreeBSD Current <freebsd-current@freebsd.org>, freebsd-git@freebsd.org
Subject:   Re: Please check the current beta git conversions
Message-ID:  <d0224511-dec0-44f4-4904-ad5b55f4edc7@FreeBSD.org>
In-Reply-To: <20200902232044.gcCl2%steffen@sdaoden.eu>
References:  <CAPyFy2Ajr3C8LM=x=_WOhV9XXMFN-80_8AP5SSta7a1FgaTGRA@mail.gmail.com> <20200902232044.gcCl2%steffen@sdaoden.eu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/09/20 20:20, Steffen Nurpmeso wrote:
> Ed Maste wrote in
>   <CAPyFy2Ajr3C8LM=x=_WOhV9XXMFN-80_8AP5SSta7a1FgaTGRA@mail.gmail.com>:
> 
> I tried simply updating my github clone by switching
> 
>    url = https://cgit-beta.freebsd.org/src.git
>    #url = https://github.com/freebsd/freebsd.git
> 
> and whereas ls-remote worked fine fetch -v --dry-run aborted as
> well as normal fetch, after dumping dozens of POSTs
> 
>    POST git-upload-pack (gzip 1472 to 804 bytes)
>    ...
>    POST git-upload-pack (gzip 976722 to 483608 bytes)
>    POST git-upload-pack (chunked)
>    error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413
>    fatal: the remote end hung up unexpectedly
> 
> Maybe clone from scratch instead, but mysterious it is?
> Good night, and Ciao from Germany,

github and cgit-beta repositories are not the same.  Commit hashes won't 
match so you cannot simply change the URL.

Look at this example.  Same commit with different hash:

https://github.com/freebsd/freebsd/commit/33ad4343e75940eae87391cc2198ddb617246ea3

https://cgit-beta.freebsd.org/src/commit/?id=f04d830d76bdba3c5d2f3a184a72f64413dafe44 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d0224511-dec0-44f4-4904-ad5b55f4edc7>