% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{iftex}
\ifPDFTeX
  \usepackage[T1]{fontenc}
  \usepackage[utf8]{inputenc}
  \usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
  \usepackage{unicode-math} % this also loads fontspec
  \defaultfontfeatures{Scale=MatchLowercase}
  \defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
\usepackage{lmodern}
\ifPDFTeX\else
  % xetex/luatex font selection
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
  \usepackage[]{microtype}
  \UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\@ifundefined{KOMAClassName}{% if non-KOMA class
  \IfFileExists{parskip.sty}{%
    \usepackage{parskip}
  }{% else
    \setlength{\parindent}{0pt}
    \setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
  \KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
  \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering
\ifLuaTeX
  \usepackage{selnolig}  % disable illegal ligatures
\fi
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\urlstyle{same}
\hypersetup{
  pdftitle={mercurial-hg},
  hidelinks,
  pdfcreator={LaTeX via pandoc}}

\title{mercurial-hg}
\author{}
\date{}

\begin{document}
\maketitle

\hypertarget{mercurial-hg}{%
\section{mercurial-hg}\label{mercurial-hg}}

\hypertarget{mercurial-hg-1}{%
\section{Mercurial HG}\label{mercurial-hg-1}}

\hypertarget{set-a-default-text-editor}{%
\subsection{Set a default text editor}\label{set-a-default-text-editor}}

Edit \emph{\textasciitilde/.hgrc} or the projects \emph{.hg/hgrc} and
add the following line:

.. code-block:: bash

{[}ui{]} editor = whatever

\hypertarget{set-a-default-user-editor}{%
\subsection{Set a default user editor}\label{set-a-default-user-editor}}

Edit \emph{\textasciitilde/.hgrc} or the projects \emph{.hg/hgrc} and
add the following line:

.. code-block:: bash

{[}ui{]} username = foxhop

\hypertarget{command-cheat-sheet}{%
\section{Command Cheat sheet}\label{command-cheat-sheet}}

\textbf{hg status} Show the status of all files that differ from the
most recent commit. \textbf{hg pull} Pull all changes from the central
or main repository. \textbf{hg update} Update the local repository with
any and all recently pulled changes. \textbf{hg commit} Commit any
changes to the working directory to the local repository. \textbf{hg
push} Push any changes from the local repository to the central or main
repository.

\end{document}
