Basabi Bhattacharya wrote:
> My workspace is /net/waldorf/export/basabi/onnv and the parent is 

..and waldorf is in sfbay, apparently...

...and /export/basabi is not shared, so it's not there....

...but I can ssh to waldorf.sfbay and look.  (It's good to think about what 
your potential helpers can and can't do on their own, and make it easy for 
them to try to help.)

> ssh://onnv.sfbay.sun.com//export/onnv-clone. The message
> "*** Error: file not in parent or child" seems to be misleading when 
> webrev seems to work. 

Well, question one would seem to be "is the file *in* the parent or child".
Since you've not yet said anything about checking that, that's what I'm
checking first (it's also good to point out what you've investigated and
so what your real question is).  How do you know that webrev "worked" 
completely and successfully?

Yes, it's in your child workspace, and hg-active lists it as the only file 
changed, and it's also in the parent, thus, the answer to "why do you say 
that webrev works" is "the only file I've changed is in the webrev" 
(another thing that's good when you ask for help is to state what you know 
and what you've checked, so that your helpers don't have to retrace every 
step you've just taken, but without your immediate knowledge of the problem).

So the question is "why is webrev saying "Error: file not in parent or 
child" when the file *is* in both parent *and* child.

For that, I think I would probably be running webrev with debug turned on, 
because indeed, that doesn't make sense to me either.  hg manifest in your 
repo shows that hg knows about that file.  hg status shows no uncommitted 
changes.  Those are both normal.

> I just need some clarification as to why I'm 
> getting this error.
> 
> Thanks,
> Basabi
> 
> 
> Dan Mick wrote:
>> You don't give a pointer to your repository, and you don't say whether 
>> the error message is right or wrong based on any evidence you've 
>> examined. What help are you looking for, and how can someone else give 
>> it to you?
>>
>> Basabi Bhattacharya wrote:
>>> Hi,
>>>
>>> My webrev results in error:
>>>
>>> webrev
>>>    SCM detected: mercurial
>>>  File list from: hg-active -p 
>>> ssh://onnv.sfbay.sun.com//export/onnv-clone ...Password:
>>>  Done.
>>>       Workspace: /export/basabi/onnv (at 05287b6f3eaa)
>>> Compare against: ssh://onnv.sfbay.sun.com//export/onnv-clone (at 
>>> 15f1d0c1d28f)
>>>       Output to: /export/basabi/onnv/webrev
>>>    Output Files:
>>>         remote:
>>>                 *** Error: file not in parent or child
>>>         usr/src/lib/fm/libfmd_snmp/Makefile.com
>>>                  patch cdiffs udiffs wdiffs sdiffs frames ps old new
>>>  Generating PDF: Done.
>>>      index.html: Done.
>>>
>>> However it creates the webrev as expected.
>>>
>>> Your help will be appreciated.
>>>
>>> Thanks
>>>
>>
> 


Reply via email to