Skip to content

Commit 77f8826

Browse files
committed
doc: remove mercurial steps
1 parent 21151ce commit 77f8826

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

source/howto/source.rst

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -119,29 +119,18 @@ revision numbers, respectively); omit the packages you won't use.
119119
as the Unit code.
120120

121121
**0.8.2** is the latest version of :program:`njs` that Unit supports.
122-
Make sure to check out the correct branch before configuring the binaries.
123-
124-
If you'd like to use `Mercurial <https://www.mercurial-scm.org/downloads>`_:
122+
Make sure you are in the correct branch before configuring the binaries.
125123

126124
.. code-block:: console
127125
128-
$ cd ..
129-
$ hg clone https://hg.nginx.org/njs
130-
$ hg update -d 10/24/2023
131-
132-
If you prefer `Git <https://git-scm.com/downloads>`_:
133-
134-
.. code-block:: console
135-
136-
$ cd ..
137-
$ git clone https://github.com/nginx/njs
138-
$ git checkout 0.8.2
126+
$ git clone https://github.com/nginx/njs.git
127+
$ cd njs
128+
$ git checkout -b 0.8.2 0.8.2
139129
140130
Next, configure and build the :program:`njs` binaries:
141131

142132
.. code-block:: console
143133
144-
$ cd njs
145134
$ ./configure :nxt_hint:`--no-zlib --no-libxml2 <Ensures Unit can link against the resulting library>` && make
146135
147136
Point to the resulting source and build directories when :ref:`configuring

0 commit comments

Comments
 (0)