Scroll to navigation

HG(OUTGOING) HG(OUTGOING)

NAME

hg outgoing - show changesets not found in the destination

SYNOPSIS

hg outgoing [-M] [-p] [-n] [-f] [-r REV]... [DEST]...

DESCRIPTION

Show changesets not found in the specified destination repository or the default push location. These are the changesets that would be pushed if a push was requested.

See pull for details of valid destination formats.

With -B/--bookmarks, the result of bookmark comparison between local and remote repositories is displayed. With -v/--verbose, status is also displayed for each bookmark like below:

BM1               01234567890a added
BM2                            deleted
BM3               234567890abc advanced
BM4               34567890abcd diverged
BM5               4567890abcde changed

The action taken when pushing depends on the status of each bookmark:

push with -B will create it

push with -B will delete it

push will update it

push with -B will update it

push with -B will update it

From the point of view of pushing behavior, bookmarks existing only in the remote repository are treated as deleted, even if it is in fact added remotely.

Returns 0 if there are outgoing changes, 1 otherwise.

OPTIONS

run even when the destination is unrelated
a changeset intended to be included in the destination
show newest record first
compare bookmarks
a specific branch you would like to push
show patch
use git extended diff format
limit number of changes displayed
do not show merges
output diffstat-style summary of changes
show the revision DAG
display using template map file (DEPRECATED)
display with template
specify ssh command to use
specify hg command to run on the remote side
do not verify server certificate (ignoring web.cacerts config)
recurse into subrepositories

[+] marked option can be specified multiple times

ALIASES

out