# HG changeset patch # User Kai T. Ohlhus # Date 1594347981 -32400 # Node ID f48162881819319b03a5142aca35cb55c0e715b6 # Parent 66397e171801d964a7bda61acdf1890fb554e05d doc: Remove oudated documentation about gnulib updates (bug #57044) * etc/GNULIB.UPDATE: Remove file with oudated instructions. The current instructions about the gnulib update are given in `bootstrap.conf` and reduce to replacing a singe commit id and running `./bootstrap --bootstrap-sync`, see cset ece72b94486f. diff -r 66397e171801 -r f48162881819 etc/GNULIB.UPDATE --- a/etc/GNULIB.UPDATE Thu Jul 09 09:22:58 2020 -0400 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,39 +0,0 @@ -## Instructions for updating gnulib on development branch - -## Change directory to the local Octave repositoy and clone the gnulib git -## repository: -git clone git://git.savannah.gnu.org/gnulib.git gnulib-git - -## Convert to hg (might take some time): -hg --config extensions.convert= convert ./gnulib-git ./gnulib-hg - -## Change directory to the gnulib sub-repo in Octave and execute the following -## commands: -cd ./gnulib -hg pull default -hg update -hg log -rtip --template "{node}\n" - -## Take note of the SHA-1 hash (LAST_OLD_HASH) of that revision. - -## Locate the first new revision in the converted repository and replace it in -## the following command: -cd ../gnulib-hg -hg log -r20111 --template "{node}\n" - -## Take note of the SHA-1 hash (FIRST_NEW_HASH) of that revision. - -## Change to the main directory of the local Octave repository and execute the -## following command replacing the hashes with the information just gathered: -cd .. -echo FIRST_NEW_HASH LAST_OLD_HASH > splicemap - -## Execute the following command (having replaced FIRST_NEW_HASH): -hg --config extensions.convert= convert ./gnulib-hg ./gnulib --splicemap ./splicemap --config convert.hg.startrev=FIRST_NEW_HASH - -## In the Octave repository do the following: -cd gnulib -hg update -cd .. -hg commit -m "maint: update gnulib subrepo." -hg push default -r .