"Mark J. Nelson" 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?
> 
> Using hg rollback is probably preferable to undo a single, tip-most commit.
> 
> But webrev should work with files in the working dir.

I've tried it and the result looks like this:
-- snip --
$ webrev
-O                                                                              
               
   SCM detected: mercurial
 File list from: hg-active -p  ...Warning: Parent workspace -o is not
accessible
active list will be incomplete

HG_PARENT=28f77b8b6ac18c637c7b6c7d546288aa9973c9aa
/usr/bin/nawk: can't open file /tmp/1954.active
 source line number 6
 Done.
      Workspace: /home/test001/ksh93/on_build1/test1_x86 (at
28f77b8b6ac1)
Compare against:  (at 28f77b8b6ac1)
      Output to: /home/test001/ksh93/on_build1/test1_x86/webrev
   Output Files:
 Generating PDF: Skipped: no output available
     index.html: Done.
-- snip --

The resulting webrev is empty. I've tried the same with $ hg commit -m
'message' ; webrev # but the webrev still has an empty diff.

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to