bzr-Explorer could be a better learning tool.

Alexander Belchenko bialix at ukr.net
Thu Nov 5 19:08:39 GMT 2009


Algis Kabaila пишет:
> On Friday 06 November 2009 05:31:08 Alexander Belchenko wrote:
>> Algis Kabaila пишет:
>>> On Thursday 05 November 2009 22:42:36 Alexander Belchenko wrote:
>>>> Algis Kabaila пишет:
>>>>> On Thursday 05 November 2009 21:11:14 Alexander Belchenko wrote:
>>>>>> Algis Kabaila пишет:
>>>>>>> bzr-Explorer is the *killer-application* for Bazaar.
>>>>> [..]
>> I've implemented it in run.py as
>>
>>         self.process_widget.logMessageEx("Run command: "+'
>> '.join(cmd_line), "cmdline")
>>         self.process_widget.do_start(cwd, *args)
>>
>> We need to move it to subprocess.py (process_widget._start_next to enable
>> this output for all subprocess-based commands).
> 
> Thanks for the information. Currently my learning curve it Qt apps is very 
> steep  :(  - I am still on the  tutorial example of Polish editor ("edytor"): 
> http://www.rkblog.rk.edu.pl/w/p/introduction-pyqt4/
> 
> So there is a long road to a place where I could discuss the statement of your 
> program snippet.  This just illustrates my point that if I were to do this, it 
> would take me a lot of learning and would take a long time to accomplish 
> anything worth while.  Right now it is 5.45 am in Canberra where I live and I 
> might return to bed as I got up at 3 am.  One of those nights...

When you'll wake-up you can try proof-of-concept of command logging, see attached patch.

Also you can see how it looks on attached screenshot.

Hmm, interesting... We should not invoke add before commit if there is nothing to add.
Nice, we can use it for debugging!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: log-cmd.patch
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20091105/3d3a8c0d/attachment-0001.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log-cmd.png
Type: image/png
Size: 23576 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091105/3d3a8c0d/attachment-0001.png 


More information about the bazaar mailing list