Roland Mainz wrote:
timeless wrote:
On Tue, Feb 10, 2009 at 5:54 AM, Roland Mainz <roland.ma...@nrubsig.org> wrote:
Is there a way to get a webrev for local (e.g. uncommited changes) in a
hg tree ?

I tried this:
-- snip --
$ hg init
$ hg pull --ssh '/usr/bin/ssh -C'
ssh://a...@hg.opensolaris.org/hg/onnv/onnv-gate
$ hg checkout
<edit some files>
$ webrev -O
-- snip --
... but the result is an empty diff/wevrev... ;-(

Does anyone know how to get this working ?
why not make a rev, web rev, and hg strip if you really don't want to
retain the rev in your repo?

Erm... I'm a Mercurial newbie... what are the exact steps to do this ?

% hg commit [myfile]...
% webrev
% hg rollback

...that last could also be

% hg strip tip

...but rollback should be the default, for the circumstances under which it will succeed. (Which means "no other changes to your repository," where "repository" is distinct from "working dir.")

--Mark
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to