A Scalable, User-Friendly Source Control System.
Go to file
Pulkit Goyal 13bba2b158 py3: handle opts uniformly in commands.py
Since keyword arguments can't be bytes on Python 3, we converted then to
unicodes before passing into different command functions. We need to adopt a
certain pattern to convert opts back to bytes. Following are some of the
functions which are called from inside these command functions and should
always be feeded bytes to follow the right behaviour.

ui.fomattter()
scmutil.match()
patch.diffallopts()
hg.peer()
cmdutil.{show_changeset|copy|graphrevs|checkunsupportedflag}
server.{createservice|runservice}

There are few commands which are left out where opts is again passed to a
function as keyword arguments or converting opts back to bytes is kind of
not necessary. Those are cat, revert, help, unbundle and rollback. Following
patches will deal with them. This patch apart from these five commands,
convert opts back to bytes for rest of the commands.

This fixes a lot of things which are hidden like --git works now. Similarly
more flags of commands which run on Python 3 currently get fixed.
2017-05-03 15:25:06 +05:30
contrib packaging: add make target for linux wheels 2017-04-25 16:50:01 +02:00
doc ui: factor out ui.load() to create a ui without loading configs (API) 2016-10-22 14:35:10 +09:00
hgext help: apply bulk fixes for indentation and literal blocking issues 2017-05-01 05:52:32 +09:00
hgext3rd extensions: also search for extension in the 'hgext3rd' package 2016-03-11 10:30:08 +00:00
i18n i18n-ja: synchronized with 878ab1a44c7e 2017-05-01 07:23:29 +09:00
mercurial py3: handle opts uniformly in commands.py 2017-05-03 15:25:06 +05:30
tests merge with stable 2017-05-04 00:26:55 -04:00
.editorconfig mercurial: add editorconfig 2016-04-05 18:10:33 +01:00
.hgignore packaging: add make target for linux wheels 2017-04-25 16:50:01 +02:00
.hgsigs Added signature for changeset 2e4bacde4889 2017-05-02 17:09:00 -05:00
CONTRIBUTING contributing: add new file with a pointer to the wiki 2016-10-08 10:39:00 -04:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
hg hg: disable demandimport for py3 2016-05-11 23:24:41 +00:00
hgeditor spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
hgweb.cgi urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
Makefile packaging: add make target for linux wheels 2017-04-25 16:50:01 +02:00
README urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
setup.py setup: sys.version_info always exists 2017-05-03 09:41:55 -04:00

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install:

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

Running without installing:

 $ make local      # build for inplace usage
 $ ./hg --version  # should show the latest version

See https://mercurial-scm.org/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.