On Wed, Jul 16, 2008 at 06:55:04PM -0500, Will Fiveash wrote:

> So how does one display all the changes that a push will perform on the
> parent repository?

Every hg subcommand that displays changesets (log, tip, outgoing, incoming)
uses -v to display a bit more information, which normally includes the full
comment (rather than just the first line) as well as the list of files it's
acting on.  Thus

    hg outgoing -v

will give you that list.  Outgoing is definitely the closest semantic
equivalent to putback -n, even if you have to poke it a little to get the
same data.

Unfortunately, in order to find out what files were added vs deleted vs
modified, you have to throw the --debug switch, because the way the
mercurial metadata is structured, finding this data out is expensive.  On
our (ips) small workspace, though, this isn't an issue.  You can also do
"hg stat --rev n-1:n" to get the status changes introduced by changeset n.

Danek

Reply via email to