Please check the current beta git conversions

Renato Botelho garga at FreeBSD.org
Thu Sep 3 11:49:07 UTC 2020


On 02/09/20 20:20, Steffen Nurpmeso wrote:
> Ed Maste wrote in
>   <CAPyFy2Ajr3C8LM=x=_WOhV9XXMFN-80_8AP5SSta7a1FgaTGRA at 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 



More information about the freebsd-current mailing list