Hi Kay, On 17 Jan., 11:47, kfj <[email protected]> wrote: > On 16 Jan., 19:39, Pablo d'Angelo <[email protected]> wrote: > > > Btw. in order to make it easier for us track your work (and add > > improvements etc.), it would be great if you could offer a hg branch of > > it (maybe not on sourceforge, if you have issues with that, but maybe at > > some other site (for example: bitbucket or so). > > I need some time then to learn how to do that.
To get you started, I just created a python_scripting branch in the main hugin repository. This branch also contains a "Run Python script" item in the Edit menu, which will open a file selector and hand the selected file to a PythonScriptPanoCmd Command class, which will take care about undo and proper notification of the rest of hugin. The code to actually run the script needs to placed in src/hugin1/hugin/wxPanoCommand.cpp:633 To get that branch, you can do the following: # fetch hg repo hg clone http://hugin.hg.sourceforge.net:8000/hgroot/hugin/hugin hugin.hg cd hugin.hg # switch to your branch # ATTENTION: This will remove any local changes, should there be any. hg update -C python_scripting Then you can add your work to this repo and perform hg commit (or hgtk commit, if you installed tortoisehg (which is quite nice...)). to commit your changes to the local repo (same as with bzr). Then you can put that repo on the web. We can then easily merge your changes into the master repo as sourceforge. There seem to be lots of sites offering hg online repos (http:// mercurial.selenic.com/wiki/MercurialHosting). I have two repos on bitbucket.org, it easy to set up and use so far (but I haven't done much work there yet). Btw. whats the reason for avoiding sourceforge? > Please excuse my ignorance of these matters, I really haven't > taken any time to learn mercurial. No worries. The model behind bzr and hg is quite similar, so I don't think there is much in the way. Let us know if you hit any roadblocks. ciao Pablo -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
