Provides output option to cat command
# HG changeset patch
# User thananck@yahoo.com
# Node ID c838b9c2c71b1d64b8bde786f6470b30f23962de
# Parent 7369ec5d93f2ffd490a43970edd9adf8d2bbe269
Provides output option to cat command
expand function in commands.doexport is moved to toplevel and renamed
to make_filename. The 'cat' command now accecpts --output <pattern>
switch to specify the destination file.
Index: hg/mercurial/commands.py
===================================================================
pulling from ../a
searching for changes
warning: pulling from an unrelated repository!
adding changesets
adding manifests
adding file revisions
modified 1 files, added 1 changesets and 1 new revisions
(run 'hg update' to get a working copy)
changeset: 1:9a79c33a9db37480e40fbd2a65d62ebd2a3c441c
tag: tip
user: a
date: Thu Jan 1 00:00:00 1970
summary: a
changeset: 0:01f8062b2de51c0fa6428c5db1d1b3ea780189df
user: b
date: Thu Jan 1 00:00:00 1970
summary: b