[thg-dev] [PATCH] iconoverlay: replace wrong variable in error message (dir should be pdir)

2009-02-07 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1234017274 -3600 # Node ID c4ab2ad2eff392a1b2f314153b61e15cdf1f8a38 # Parent 095d7aedcc4884eb8258bb1eb6dbad191ff8a2b7 iconoverlay: replace wrong variable in error message (dir should be pdir) diff -r 095d7aedcc48 -r c4ab2ad2eff3

Re: [thg-dev] [Tortoisehg-discuss] no overlay icons with0.5

2009-02-11 Thread Simon Heimberg
Am Dienstag, den 14.10.2008, 10:07 +0200 schrieb Simon H.: On Mon, 13 Oct 2008 23:41:31 +, TK Soh wrote: On Mon, Oct 13, 2008 at 6:23 PM, Simon H. wrote: On Mon, 13 Oct 2008 16:04:16 +, TK Soh On Mon, Oct 13, 2008 at 1:04 PM, Simon H. wrote: On Mon, 13 Oct 2008 13:13:28 +0200,

[thg-dev] [PATCH] Install OverlayIcons for all users

2009-02-11 Thread Simon Heimberg
Announced patch for bitbucket.org/sborho/thg-mq/ # HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1234343721 -3600 # Node ID 05459e7d8e183df0b6651cbe72d273d1a7eaef65 # Parent ce4a46a9bec7839b3e51cc3ef8709c585c6118b7 Install OverlayIcons for all users diff -r ce4a46a9bec7 -r

[thg-dev] finding hgproc.py on linux

2009-02-13 Thread Simon Heimberg
The path of hgproc.py is read from an environment variable or hard coded in nautilus-thg.py. New approach: place hgproc.py in the python path. Import a small module which is in the same place. Get the path of this module by calling its __file__ property. Replace the filename with hgproc.py. The

Re: [thg-dev] finding hgproc.py on linux

2009-02-14 Thread Simon Heimberg
Am Freitag, den 13.02.2009, 23:34 -0600 schrieb Steve Borho: On Fri, 2009-02-13 at 17:04 +0100, Simon Heimberg wrote: The path of hgproc.py is read from an environment variable or hard coded in nautilus-thg.py. New approach: place hgproc.py in the python path. Import a small module which

[thg-dev] [PATCH 0 of 2] same menu for windows and nautilus

2009-02-16 Thread Simon Heimberg
Using the same (context) menu in windows and nautilus would be practically because changes happen only in one location. Here is a first draft for this. The first patch contains the methods _get_commands_dragdrop and _get_commands from windows (tortoise/contextmenu.py) in a separate module.

[thg-dev] [PATCH 1 of 2] add separate module for menu creation

2009-02-16 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1234800759 -3600 # Node ID 9521df28903da5391789bcbb2b341613c9e01a10 # Parent a7d4a0c9e5e57b5be8c174e79ba22d4ac7621f7d add separate module for menu creation diff -r a7d4a0c9e5e5 -r 9521df28903d tortoise/menuthg.py --- /dev/null

[thg-dev] [PATCH 2 of 2] cmenu: use new module for menu creation

2009-02-16 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1234800786 -3600 # Node ID 52e07225b8aaf4dba8743b4c1c368853a061c3c0 # Parent 9521df28903da5391789bcbb2b341613c9e01a10 cmenu: use new module for menu creation diff -r 9521df28903d -r 52e07225b8aa tortoise/contextmenu.py

Re: [thg-dev] [PATCH 0 of 2] same menu for windows and nautilus

2009-02-18 Thread Simon Heimberg
snip No offence, but have you really tested the code? Never mind. I just saw it in your earlier message. You haven't. In general, it's bad to check in untested code. I agree. I did not know how to test and I feared to make no progress because of all the changes which happened in

[thg-dev] news from unify windows and nautilus code

2009-03-05 Thread Simon Heimberg
Because I have clicked Reply to instead of Reply to all, a lot of communication was off list. So here is an overview of the current state. The code is developed on two repositories http://bitbucket.org/simohe/thg-unify-w-n/ http://bitbucket.org/sborho/thg-unify-w-n/ Any testing and any code is

[thg-dev] [PATCH] status: update check count when selecting by key

2009-03-10 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1236667541 -3600 # Node ID 99754eee43fa135c42faac268baab638585bc0d5 # Parent 64b6cd06d6419d7696d2e9b62a118b9d889d611a status: update check count when selecting by key diff -r 64b6cd06d641 -r 99754eee43fa hggtk/status.py

[thg-dev] [PATCH 1 of 4] add hgtk.bat, modified from original hgproc.bat

2009-03-16 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237192422 -3600 # Node ID 9ed5f3e28bc5957fcfc9cfb99cc1363c0385cf2a # Parent 53871c6c394785e963242bb74c0f2851da5bc55a add hgtk.bat, modified from original hgproc.bat diff -r 53871c6c3947 -r 9ed5f3e28bc5 hgtk.bat --- /dev/null

[thg-dev] [PATCH 2 of 4] nautilus: idstr with hgcmd

2009-03-16 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237192425 -3600 # Node ID 2d08daa472678163038a97bcec3c29aad5a43376 # Parent 9ed5f3e28bc5957fcfc9cfb99cc1363c0385cf2a nautilus: idstr with hgcmd helps when debugging diff -r 9ed5f3e28bc5 -r 2d08daa47267 contrib/nautilus-thg.py

Re: [thg-dev] crew wiki cleanup

2009-03-16 Thread Simon Heimberg
Am Sonntag, den 15.03.2009, 02:35 + schrieb TK Soh: On Sat, Mar 14, 2009 at 10:01 PM, Steve Borho st...@borho.org wrote: To get ready for 0.8 work, I've updated the TODO list on the crew wiki and placed the table of contents on the main page.

Re: [thg-dev] [PATCH 0 of 4] corrections for menu handling

2009-03-16 Thread Simon Heimberg
Result of test on a modified binary installation: * Separators are there * Dialogs open (thanks for fixing, steve) -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with

[thg-dev] [PATCH] hglib: protect interactive from overwriting

2009-03-18 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237363335 -3600 # Node ID 8e53281a39e2bdffb0099724f27e951ad1b0d241 # Parent 85474a80cbc5b789ac15963df8ddf2b5124e3ef0 hglib: protect interactive from overwriting was overwritten when stdin is not a tty (see

[thg-dev] [PATCH 3 of 7] commit: no editing of branch name in mqmode

2009-03-18 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237377305 -3600 # Node ID f6440a81bf3ee4fa0de61c9b50f96c29cb38d004 # Parent ef04a65e4eeb03dea25e8bbf6575c4793180843e commit: no editing of branch name in mqmode diff -r ef04a65e4eeb -r f6440a81bf3e hggtk/commit.py --- a/hggtk

[thg-dev] [PATCH 5 of 7] commit: use buffer of text more often

2009-03-18 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237377522 -3600 # Node ID 044405ec1878748c8d2b365986c98eeb7afb896e # Parent aae48ef7fcaac7b359a7cb87e5ebe85cf6ef8923 commit: use buffer of text more often diff -r aae48ef7fcaa -r 044405ec1878 hggtk/commit.py --- a/hggtk

[thg-dev] [PATCH 7 of 7] commit: save all modified commit messages

2009-03-18 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237377968 -3600 # Node ID d42864803823ff795efc1d4631401ba1bad663f5 # Parent 2edb9e0e604f040d4b4af00d822f7838fdbdb615 commit: save all modified commit messages diff -r 2edb9e0e604f -r d42864803823 hggtk/commit.py --- a/hggtk

Re: [thg-dev] [PATCH 7 of 7] commit: save all modified commit messages

2009-03-18 Thread Simon Heimberg
please innore this patch, I have sent a newer one. Am Mittwoch, den 18.03.2009, 15:10 +0100 schrieb Simon Heimberg: # HG changeset patch # User Simon Heimberg simohe-y/qullnsqklydzi6cay...@public.gmane.org # Date 1237377968 -3600 # Node ID d42864803823ff795efc1d4631401ba1bad663f5 # Parent

[thg-dev] [PATCH 1 of 2] history: allow to send bundles and mails from a range

2009-03-18 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237390492 -3600 # Node ID 1c61eacc2d9c39ad56539555eb9b87a2756e5f55 # Parent bd7b0a6044c6db590c4b58be1f1a50fd8f56a3d7 history: allow to send bundles and mails from a range diff -r bd7b0a6044c6 -r 1c61eacc2d9c hggtk/history.py

[thg-dev] [PATCH 0 of 2] more possibilities for sending emails

2009-03-18 Thread Simon Heimberg
#1: from history dialog allow to select two revisions and send (or bundle) the changes between #2: from synch dialog allow to specify a rev when path is selected, send unknown changes till rev when no path is selected, only send rev Some testing done. Last test: this email :-)

[thg-dev] [PATCH 2 of 2] synch: allow rev for email

2009-03-18 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237390634 -3600 # Node ID 041ece8b672ac5b94c32bf14c809abae297d771f # Parent 1c61eacc2d9c39ad56539555eb9b87a2756e5f55 synch: allow rev for email diff -r 1c61eacc2d9c -r 041ece8b672a hggtk/synch.py --- a/hggtk/synch.pyMit Mär

[thg-dev] [PATCH 0 of 3] email supports test and intro, prompt allows cancel

2009-03-27 Thread Simon Heimberg
1: cancel for askpass and prompt allows canceling when forgotten to give a subject in email dialog should an empty text really return the default value? 2: button for previewing emails not sure about the icon (FIND, OPEN, ...) 3: support hg email --intro

[thg-dev] [PATCH 3 of 3] hgemail: send intro email for one patch if supported and subject given

2009-03-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238149238 -3600 # Node ID e263d5874e3a7151698a41f241d74ff2e4aca11e # Parent d3334761f6e67028b47c04caf0c4a42c559bd01a hgemail: send intro email for one patch if supported and subject given diff -r d3334761f6e6 -r e263d5874e3a

[thg-dev] [PATCH 4 of 6] iconoverlay win: more icons

2009-03-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238154241 -3600 # Node ID 00299bec80f3d9497e936bc3195677cf2a0121fd # Parent 1fb9c97bae63ff21f76f707c17e0b9814a732a82 iconoverlay win: more icons Icons are already registered with TortoseOverlays, no additional resources diff

[thg-dev] [PATCH 3 of 6] iconoverlay win: adapt to state changes of cachethg

2009-03-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238088459 -3600 # Node ID 1fb9c97bae63ff21f76f707c17e0b9814a732a82 # Parent bdc9c7c821ee6456610f9250305716f5ad56cb8d iconoverlay win: adapt to state changes of cachethg diff -r bdc9c7c821ee -r 1fb9c97bae63 tortoise

[thg-dev] [PATCH 0 of 6] some changes in caching and overlay handling

2009-03-27 Thread Simon Heimberg
cache the same state names as hg stat uses (1 char for 1 state) use this new states for showing icons (nautilus and windows) error correction in menuthg: use arguments, not class variables (found with module I sent before :-) ) Could somebody help testing on windows?

[thg-dev] [PATCH 5 of 6] menu: use arguments in get_commands_dragdrop

2009-03-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238172322 -3600 # Node ID 1009fcd7a521a7b999a0cc8c6aab467084a2d0ae # Parent 00299bec80f3d9497e936bc3195677cf2a0121fd menu: use arguments in get_commands_dragdrop diff -r 00299bec80f3 -r 1009fcd7a521 tortoise/menuthg.py

[thg-dev] [PATCH 1 of 6] cache: same state names as in output of stat command

2009-03-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237527548 -3600 # Node ID 3a35104d2ca8cf2231918031743609ab53adb015 # Parent e263d5874e3a7151698a41f241d74ff2e4aca11e cache: same state names as in output of stat command diff -r e263d5874e3a -r 3a35104d2ca8 tortoise/cachethg.py

[thg-dev] [PATCH 2 of 6] cache: state for files unresolved in merge

2009-03-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237527553 -3600 # Node ID bdc9c7c821ee6456610f9250305716f5ad56cb8d # Parent 3a35104d2ca8cf2231918031743609ab53adb015 cache: state for files unresolved in merge diff -r 3a35104d2ca8 -r bdc9c7c821ee tortoise/cachethg.py

Re: [thg-dev] large changes in the crew repository

2009-03-27 Thread Simon Heimberg
Am Samstag, den 28.03.2009, 06:43 +0100 schrieb Simon Heimberg: Am Freitag, den 27.03.2009, 17:06 -0500 schrieb Steve Borho: I've just pushed a large set of changes to the crew repository. If you're developing on crew as a source install, I suggest you unregister tortoisehg before you pull

[thg-dev] [PATCH] commit: clear unchanged commit message when entering qnew mode

2009-03-31 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238482071 -7200 # Node ID 6cceec6259590efcfc8ea603978e5ea8705a0256 # Parent cd7ea3b7b16bf834b54d654478bee0101a9dca64 commit: clear unchanged commit message when entering qnew mode diff -r cd7ea3b7b16b -r 6cceec625959 hggtk

[thg-dev] [PATCH 1 of 8] cache: only inherit error values

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1237527599 -3600 # Node ID 39fa855da206c4a4b9f27788fae8d3a5108da952 # Parent 173e792cea5c285e87159969f14537e08f46bd28 cache: only inherit error values do not inherit state root for '.hg' maybe inheriting should be removed? diff

[thg-dev] [PATCH 5 of 8] menu: simplify determination if merging

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238678428 -7200 # Node ID 346a55135ec96382e6a05e4b958fe657d11dceea # Parent d702d0193f3a69b6963818ad9499a6df88dab954 menu: simplify determination if merging diff -r d702d0193f3a -r 346a55135ec9 tortoise/menuthg.py

[thg-dev] [PATCH 4 of 8] synch: load extensions only when needed

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240208739 -7200 # Node ID d702d0193f3a69b6963818ad9499a6df88dab954 # Parent eb20fab551ee56fa4684fc2a1018ef0a9add9bb7 synch: load extensions only when needed dialog does not fail unnecessary if the extension can not be loaded

[thg-dev] [PATCH 3 of 8] changeset: fix traceback

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240225911 -7200 # Node ID eb20fab551ee56fa4684fc2a1018ef0a9add9bb7 # Parent 3c33ba2fc76d8c584185081451bbfa63ad5d9a96 changeset: fix traceback not sure if the problem or only the traceback is fixed diff -r 3c33ba2fc76d -r

[thg-dev] [PATCH 7 of 8] status: repo['.'] is euivalent to repo[None].parents()[0], so use this

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1239346004 -7200 # Node ID a2d48eb8e9df711f9a87a251a5bc835be0304c7e # Parent 5c6c7ead318fc11e10a4d396454cfb85aef7160f status: repo['.'] is euivalent to repo[None].parents()[0], so use this diff -r 5c6c7ead318f -r a2d48eb8e9df

[thg-dev] [PATCH 8 of 8] hggtk: eliminate from ... import * for easier understandable code

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240225911 -7200 # Node ID 8098f20d79964e9a52dabb5127a9333cf35dba7a # Parent a2d48eb8e9df711f9a87a251a5bc835be0304c7e hggtk: eliminate from ... import * for easier understandable code replaced with explicit imports removed found

[thg-dev] [PATCH 3 of 3] nautilus: use new file for debugging

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240227157 -7200 # Node ID 6d06ea6fa448168481b1fd1462c3b9f9a0b9f0d0 # Parent 79c413ef4df1942986c77cb5ea09e6dbb7021f19 nautilus: use new file for debugging diff -r 79c413ef4df1 -r 6d06ea6fa448 contrib/nautilus-thg.py

[thg-dev] [PATCH 2 of 3] debugging: use new file for debugging in cachethg and contextmenu

2009-04-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238517715 -7200 # Node ID 79c413ef4df1942986c77cb5ea09e6dbb7021f19 # Parent b3cb2803ba8fc7e592f2406989077bb53d8de195 debugging: use new file for debugging in cachethg and contextmenu diff -r b3cb2803ba8f -r 79c413ef4df1

[thg-dev] [PATCH] recovery: correct error introduced in aa5e7a24100ef87f1d9df2b9e64836f9e60b714e

2009-04-22 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240388032 -7200 # Node ID da0fd158c4664edfb8fb7022e4639e689086ecc7 # Parent c7cf720c06f793a911b2cf5f0174b4ee71ecfc6f recovery: correct error introduced in aa5e7a24100ef87f1d9df2b9e64836f9e60b714e diff -r c7cf720c06f7 -r

[thg-dev] [PATCH 3 of 3] run-tests: check mercurial path with hg

2009-04-22 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240384401 -7200 # Node ID 3c065c600270f67c19d8fed17076dff602189f72 # Parent 8dcac5c4675773c3353043834375f0585628e356 run-tests: check mercurial path with hg for the case when hg is a shell script which modifies PYTHONPATH diff

[thg-dev] [PATCH 2 of 3] run-tests: fix error when timeout occures

2009-04-22 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240384306 -7200 # Node ID 8dcac5c4675773c3353043834375f0585628e356 # Parent 85abf8746a72d4398ff1dd3359824d2f178c7b48 run-tests: fix error when timeout occures diff -r 85abf8746a72 -r 8dcac5c46757 tests/run-tests.py --- a/tests

[thg-dev] [PATCH] cmenu, windows: correct error introduced in 79c413ef4df1

2009-04-25 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240568478 -7200 # Node ID d1490659129af6846d4a40b26740e210464b9c01 # Parent 104c53fc0b6161b9cdf29212a126548ffc936153 cmenu, windows: correct error introduced in 79c413ef4df1 diff -r 104c53fc0b61 -r d1490659129a tortoise

[thg-dev] [PATCH] hggtk/hglib: adapt to changes in mercurial.ui and mercurial.dispatch

2009-04-25 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240699867 -7200 # Node ID 30db52b34c463c0e4c68eb52e003335e7e7dac34 # Parent d1490659129af6846d4a40b26740e210464b9c01 hggtk/hglib: adapt to changes in mercurial.ui and mercurial.dispatch (mercurial changes from

[thg-dev] [PATCH 3 of 4] hggtk/*: ui.inveractive is not bool anymore

2009-04-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240826153 -7200 # Node ID 86ef48d5956dbfb80dc71bf0c175372c1fb1dd21 # Parent e606e54e610e37ccb84bba66a9837ee445a1242d hggtk/*: ui.inveractive is not bool anymore adapt to changes in mercurial.ui

[thg-dev] [PATCH 0 of 4] adapt to ui changes and clear whitespaces

2009-04-27 Thread Simon Heimberg
description in changesets some testing done -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine

[thg-dev] [PATCH 1 of 1] hggtk/*: ui.interactive is not bool anymore

2009-04-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240826153 -7200 # Node ID f315baed18db6f26d199f9717d697b46c4d83606 # Parent e606e54e610e37ccb84bba66a9837ee445a1242d hggtk/*: ui.interactive is not bool anymore adapt to changes in mercurial.ui

[thg-dev] [PATCH 0 of 1] resend with corrected typo

2009-04-27 Thread Simon Heimberg
Ignore the previous patch. Thanks, tksoh. You are right of course as you always are :-) -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited

[thg-dev] [PATCH 0 of 1] allow hgtk status -r 1 -r 2 from command line

2009-04-27 Thread Simon Heimberg
Maybe this could be useful for someone. (I prefer to open the same dialog from the context menu in the log viewer. :-) ) There are probably more options which could be useful from the command line. But what are the options in gdialog.GDialog.opts for? They are used in many places. Why are most

[thg-dev] [PATCH 1 of 2] hglib: Qui works with current tip of mercurial crew

2009-04-28 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240931884 -7200 # Node ID c05d25c4856dbaf5e2daf21c46379ac916637258 # Parent 7835a01dad87f6e8b2451578d7219d4bca7865d4 hglib: Qui works with current tip of mercurial crew when creating a repo, ui.copy is called, which creates

[thg-dev] [PATCH 2 of 2] hglib: skip unnecessary tweaks for mercurial 1.2

2009-04-28 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240931884 -7200 # Node ID ca5f206c826a28377a4f2c247498a236ad59c134 # Parent c05d25c4856dbaf5e2daf21c46379ac916637258 hglib: skip unnecessary tweaks for mercurial 1.2 A new repo has a ui with the same class as the baseui diff

[thg-dev] [PATCH 0 of 2] some more changes for running with hg crew

2009-04-28 Thread Simon Heimberg
The ui class has changed a lot. Here are some changes because of the new initialisation and the copy function. Subclassing ui is eayier now! (But the changes are backward compatible.) The annotate dialog works now again. Greetings Simon

Re: [thg-dev] [PATCH 0 of 2] some more changes for running with hg crew

2009-04-28 Thread Simon Heimberg
Am Dienstag, den 28.04.2009, 10:48 -0500 schrieb Steve Borho: On Tue, Apr 28, 2009 at 10:46 AM, Steve Borho st...@borho.org wrote: [snip]. No more monkey patching. That's nice. BTW: We really don't need thgdispatch() anymore when working with the tip of main. The whole point of that

[thg-dev] checkable repo and nautilus with monitoring

2009-04-28 Thread Simon Heimberg
I started a queue on http://bitbucket.org/simohe/thg-crew-unfinished It contains changes I work on since a longer time which are not well tested and not in nice changesets. But I would like to get some comments. Testing is welcome of course. checkable.py (patches 1-4 in series file)

[thg-dev] [PATCH 2 of 3] hglib: GtkUi accepts parentui and source and works with new hg crew

2009-04-28 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240937764 -7200 # Node ID 2437bbe836a1eec5eb058c71fd41739f112eeca1 # Parent 972a711df4019592962eb5716c9a977c8d21bcbf hglib: GtkUi accepts parentui and source and works with new hg crew ui.copy() did not work because

[thg-dev] [PATCH 3 of 3] hglib: use dispatch._dispatch for new mercurial

2009-04-28 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1240939370 -7200 # Node ID b13ed23190af69039f1f3f4c2264b5d44a36da93 # Parent 2437bbe836a1eec5eb058c71fd41739f112eeca1 hglib: use dispatch._dispatch for new mercurial drop older, now unneeded fixes diff -r 2437bbe836a1 -r

[thg-dev] [PATCH 0 of 3] some more changes for running with hg crew

2009-04-28 Thread Simon Heimberg
GtkUi had the same problem as Qui thg is not compatible with hg 9.4 (missing mercurial.matcher, ...), so drop old code Sorry Steve, I could not wait with #3 :-) -- Register Now Save for Velocity, the Web Performance

Re: [thg-dev] [PATCH] hgtk: default value for rev is a list

2009-05-01 Thread Simon Heimberg
Am Donnerstag, den 30.04.2009, 05:56 -0500 schrieb Steve Borho: On Thu, Apr 30, 2009 at 5:16 AM, Simon Heimberg sim...@besonet.ch wrote: ^status|st: (status, -[('r', 'rev', '', _('revisions to compare'))], +[('r', 'rev', [], _('revisions to compare'))], Bizarre. I

[thg-dev] question about shell_notify

2009-05-01 Thread Simon Heimberg
Nautilus asks the state of a file when it has changed on disk. Is this the same for windows? If it is, then we do not need to call shell_notify when a file has changed. This would mean that the following is unnecessary: hggtk/changeset.py:shlib.shell_notify([self.curfile])

[thg-dev] [PATCH] hgthread: add missing import

2009-05-12 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242112830 -7200 # Node ID a8cc7428416569721c900c6c9c2d4805a777a030 # Parent 02304bccc7ddafb173e6919735441beba3a59623 hgthread: add missing import diff -r 02304bccc7dd -r a8cc74284165 hggtk/hgthread.py --- a/hggtk/hgthread.py

[thg-dev] [PATCH] hgtk: fix traceback when in .hg/

2009-05-12 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242112830 -7200 # Node ID 233408de8c5a65dafbbae6faa85d0f5ddfb2d3e6 # Parent a8cc7428416569721c900c6c9c2d4805a777a030 hgtk: fix traceback when in .hg/ cpath does not have a valid value on Abort diff -r a8cc74284165 -r

[thg-dev] [PATCH] nautilus: let hgtk map the paths to canonical

2009-05-12 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242112830 -7200 # Node ID 6b06fb783631e51812a3bd4f493f66a134d4a54c # Parent 233408de8c5a65dafbbae6faa85d0f5ddfb2d3e6 nautilus: let hgtk map the paths to canonical diff -r 233408de8c5a -r 6b06fb783631 contrib/nautilus-thg.py

[thg-dev] [PATCH 1 of 5] nautilus: cosmetics

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242112830 -7200 # Node ID 8e038e4a666865cd82c7c97af2f03c4c95b2a66c # Parent 66f2921bbb9feb109182af523fa25f788d27375e nautilus: cosmetics diff -r 66f2921bbb9f -r 8e038e4a6668 contrib/nautilus-thg.py --- a/contrib/nautilus-thg.py

[thg-dev] [PATCH 5 of 5] nautilus: do not cache repo

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242117134 -7200 # Node ID 1353b9e1e800b997286c33f77f184f86f24cd53a # Parent 4cfc04befcdc649d6272deb3ae99554efda2fdef nautilus: do not cache repo caching is done in cachethg diff -r 4cfc04befcdc -r 1353b9e1e800 contrib/nautilus

[thg-dev] [PATCH 4 of 5] nautilus: invalidate parent directories of changed files

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242157352 -7200 # Node ID 4cfc04befcdc649d6272deb3ae99554efda2fdef # Parent 6440156bc2f9bf6ea0c1639ba64f5175bfbfabb9 nautilus: invalidate parent directories of changed files invalidate parent directory of file which changed

[thg-dev] [PATCH 2 of 5] nautilus: do import on module initialisation

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242115174 -7200 # Node ID 6eedd2d5972e81c3bd1bb1e8453a612fa17911ff # Parent 8e038e4a666865cd82c7c97af2f03c4c95b2a66c nautilus: do import on module initialisation diff -r 8e038e4a6668 -r 6eedd2d5972e contrib/nautilus-thg.py

[thg-dev] [PATCH 0 of 5] a bunch of changes for nautilus

2009-05-13 Thread Simon Heimberg
short topics of patches: *clean up code *notify nautilus from hgtk dialogs *update icons of parent directories Notification is done by writing the name of the changed files in a file which is monitored by nautilus. Monitoring is done with gnomevfs. Gio is newer, but to new to be on my debian

[thg-dev] [PATCH 3 of 5] nautilus: notify from hggtk dialogs

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1238183010 -3600 # Node ID 6440156bc2f9bf6ea0c1639ba64f5175bfbfabb9 # Parent 6eedd2d5972e81c3bd1bb1e8453a612fa17911ff nautilus: notify from hggtk dialogs hgtk writes the names of the changed files to ~/.tortoisehg/notify

[thg-dev] [PATCH] hglib: new function for invalidating a repo

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242153846 -7200 # Node ID f1f312568f15b791f42dc7ad4660c38e2cb11449 # Parent 1353b9e1e800b997286c33f77f184f86f24cd53a hglib: new function for invalidating a repo handle invalidating of mq in one place invalidate mq in history

Re: [thg-dev] [PATCH] hglib: new function for invalidating a repo

2009-05-13 Thread Simon Heimberg
Am Mittwoch, den 13.05.2009, 13:52 -0500 schrieb Steve Borho: On Wed, May 13, 2009 at 1:38 PM, Simon Heimberg simohe-y/qullnsqklydzi6cay...@public.gmane.org wrote: # HG changeset patch # User Simon Heimberg simohe-y/qullnsqklydzi6cay...@public.gmane.org # Date 1242153846 -7200 # Node ID

[thg-dev] [PATCH 1 of 2] datamine: correct changed import

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242248980 -7200 # Node ID bad5d203d3811dae4e5767530ca0efaa8a34c7dd # Parent f1f312568f15b791f42dc7ad4660c38e2cb11449 datamine: correct changed import diff -r f1f312568f15 -r bad5d203d381 hggtk/datamine.py --- a/hggtk

[thg-dev] [PATCH 0 of 2] correct errors in datamine

2009-05-13 Thread Simon Heimberg
I found some errors while I tried to examine something else... -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak,

[thg-dev] [PATCH 2 of 2] datamine: allow termination while loading annotate lines

2009-05-13 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242249089 -7200 # Node ID 23f8d4687e82d60ae100e62131a21b49cd9bdd62 # Parent bad5d203d3811dae4e5767530ca0efaa8a34c7dd datamine: allow termination while loading annotate lines diff -r bad5d203d381 -r 23f8d4687e82 hggtk

[thg-dev] how to use shell_notify and update_thgstatus?

2009-05-20 Thread Simon Heimberg
What I understand: * shell_notify is called when the dirstate of a file has changed. * As a fallback, it is called too when (it is known that) a file has changed on disc. (Often, the change is detected by the shell (explorer, nautilus, ...)). * update_thgstatus is called when the dirstate has

[thg-dev] [PATCH] thgstatus.py: quicker dirname

2009-05-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242281269 -7200 # Node ID 7a043039f9b8a72fb4c5a41e22f7be1139d8bea4 # Parent 8f44afedd6894f89dfdc9ab70fbe6034b98e4cad thgstatus.py: quicker dirname diff -r 8f44afedd689 -r 7a043039f9b8 hgext/thgstatus.py --- a/hgext/thgstatus.py

[thg-dev] [PATCH] shlib: use set instead of list

2009-05-20 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242814001 -7200 # Node ID 0ce39293ca746da0d8326602ab65c4555634511c # Parent 4dd0a9fc0d730ec34380f92ca984ab3e46f2aa16 shlib: use set instead of list diff -r 4dd0a9fc0d73 -r 0ce39293ca74 thgutil/shlib.py --- a/thgutil/shlib.py

Re: [thg-dev] Hooking to merge binary files

2009-05-22 Thread Simon Heimberg
Am Donnerstag, den 21.05.2009, 14:15 -0500 schrieb Steve Borho: On Thu, May 21, 2009 at 2:02 PM, Bruce Mahfood bmahf-/e1597as9lqavxtiumw...@public.gmane.org wrote: Thanks. I looked a man page for hgrc (http://linux.die.net/man/5/hgrc). I assume that these commands can go into my

[thg-dev] [PATCH] status: fix traceback when copy to clipboard

2009-05-27 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1243431453 -7200 # Node ID 7ebca8de4a115ed40b6955f67c2854517b268c46 # Parent bf006c37c7538c20027dbabb35a2f87a8ffd1675 status: fix traceback when copy to clipboard tpaths is a list of tupples with only one element It works like

[thg-dev] [PATCH] treemodel: prevent traceback, use values instead of items

2009-06-10 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1244629471 -7200 # Node ID 62587c4f0e577faca23d03048c3ad6a070660001 # Parent e4958f6dd6cb0f1494f3c1020c1c9e48d9ff8d26 treemodel: prevent traceback, use values instead of items diff -r e4958f6dd6cb -r 62587c4f0e57 hggtk/logview

[thg-dev] [PATCH] shlib: use repo.opener with atomic file for writing status file

2009-06-10 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 124341 -7200 # Node ID a703c9b518d5fe94002f30bd5b5b7ae73792016e # Parent 62587c4f0e577faca23d03048c3ad6a070660001 shlib: use repo.opener with atomic file for writing status file like this, there is never a partialy written

Re: [thg-dev] [PATCH] shlib: use repo.opener with atomic file for writing status file

2009-06-10 Thread Simon Heimberg
Am Mittwoch, den 10.06.2009, 17:52 +0200 schrieb Adrian Buehlmann: On 10.06.2009 16:51, Steve Borho wrote: On Wed, Jun 10, 2009 at 6:59 AM, Adrian Buehlmannadr...@cadifra.com wrote: On 10.06.2009 13:23, Simon Heimberg wrote: # HG changeset patch # User Simon Heimberg sim...@besonet.ch

Re: [thg-dev] [PATCH] shlib: use repo.opener with atomic file for writing status file

2009-06-11 Thread Simon Heimberg
Am Donnerstag, den 11.06.2009, 11:47 +0200 schrieb Adrian Buehlmann: On 11.06.2009 11:01, Adrian Buehlmann wrote: On 11.06.2009 08:47, Simon Heimberg wrote: Am Mittwoch, den 10.06.2009, 21:54 +0200 schrieb Adrian Buehlmann: On 10.06.2009 21:38, Adrian Buehlmann wrote: What I got

[thg-dev] [PATCH] hgshelve: let change ee88384b8e24 work with old hg

2009-06-21 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1245587854 -7200 # Node ID 779a60d9ac599a44f991c3da44e653354710fbe9 # Parent 8d695f3831da9059a8766bd78e98f0e556d4b82c hgshelve: let change ee88384b8e24 work with old hg diff -r 8d695f3831da -r 779a60d9ac59 hggtk/hgshelve.py

[thg-dev] [PATCH] history: update changeset info when selecting a changeset without files

2009-06-22 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1245669566 -7200 # Node ID 44f4ac4a1767bf23810d5d1fcef4063d32a7a443 # Parent 44d7a44c74f5472838b44dfe0844963d7d201c48 history: update changeset info when selecting a changeset without files diff -r 44d7a44c74f5 -r 44f4ac4a1767

[thg-dev] [PATCH 1 of 1] hgshelve/commit: let work with old hg

2009-06-22 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1245669566 -7200 # Node ID 3e2e45402176eb061455179132ec2180bf464ed2 # Parent efef6da0111c9de04884ba5ce9d0a9d6d55588fb hgshelve/commit: let work with old hg diff -r efef6da0111c -r 3e2e45402176 hggtk/commit.py --- a/hggtk

[thg-dev] [PATCH 3 of 3] hgserve: delete compatibility code for Mercurail 1.3

2009-07-02 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1245940814 -7200 # Node ID 9767027b4999df05d7cf9e14322c45fe815fdc0b # Parent 3feec6815fab0ae52ee73543c449621bc181184e hgserve: delete compatibility code for Mercurail 1.3 diff -r 3feec6815fab -r 9767027b4999 hggtk/serve.py

[thg-dev] [PATCH 1 of 3] hglib: delete compatibility code for Mercurail 1.3

2009-07-02 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1245934222 -7200 # Node ID 1b9a75dce1e3ea0b4a44608c9e61e2b8ce2762f1 # Parent 52f190ed32123c4db9ff7d24243d26f692f29542 hglib: delete compatibility code for Mercurail 1.3 diff -r 52f190ed3212 -r 1b9a75dce1e3 thgutil/hglib.py

[thg-dev] [PATCH 2 of 3] hgthread: delete compatibility code for Mercurail 1.3

2009-07-02 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1245934322 -7200 # Node ID 3feec6815fab0ae52ee73543c449621bc181184e # Parent 1b9a75dce1e3ea0b4a44608c9e61e2b8ce2762f1 hgthread: delete compatibility code for Mercurail 1.3 diff -r 1b9a75dce1e3 -r 3feec6815fab hggtk/hgthread.py

[thg-dev] [PATCH] thgconfig: call response correctly with two arguments

2009-07-08 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1246539712 -7200 # Node ID 69b3911484225e0c7e2afd4e83c595da1d102ffa # Parent 53f9750fa12b645bc1ea70ab228a0e13e8efc06d thgconfig: call response correctly with two arguments diff -r 53f9750fa12b -r 69b391148422 hggtk/thgconfig.py

[thg-dev] [PATCH] debugthg: accept 1 from command line for debugging all

2009-07-08 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1242800757 -7200 # Node ID 5c3e89641ef0ef0a31cc657f4850521cd779a1e4 # Parent 69b3911484225e0c7e2afd4e83c595da1d102ffa debugthg: accept 1 from command line for debugging all diff -r 69b391148422 -r 5c3e89641ef0 thgutil

[thg-dev] [PATCH 1 of 2] hggtk: print current hg version if it does not match

2009-07-08 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1247060681 -7200 # Node ID 2d96d6254920aed53c0d4401d28fedb32a61b4ab # Parent 2d1e23f32ac7f34b84eacaf0b0b308894cfc37e2 hggtk: print current hg version if it does not match diff -r 2d1e23f32ac7 -r 2d96d6254920 contrib/nautilus

[thg-dev] [PATCH 2 of 2] hggtk: do not stop on to long versions

2009-07-08 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1247061247 -7200 # Node ID acf6119be0de018fbe3f95b3d463c9d46385a2d8 # Parent 2d96d6254920aed53c0d4401d28fedb32a61b4ab hggtk: do not stop on to long versions mercurial version is hash+date (19 chars) after running setup diff -r

[thg-dev] [PATCH 0 of 2] solve problem with version checking

2009-07-08 Thread Simon Heimberg
New hg versions which do not have a tag look like this: hash+date (example d8e8447a4b7b+20090708). This format is currently rejected. The first patch helps detecting such problems, the second accepts versions with more than 12 characters.

[thg-dev] [PATCH] hgthread: show dialog for ui.promptchoice

2009-07-10 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1247124969 -7200 # Node ID 677ddd81b99bf99be1327e624bbbacdab0606ddc # Parent 62d7b1d1d400c64ba662bd7482f5366970d4488e hgthread: show dialog for ui.promptchoice diff -r 62d7b1d1d400 -r 677ddd81b99b hggtk/gdialog.py --- a/hggtk

Re: [thg-dev] [PATCH] hgthread: show dialog for ui.promptchoice

2009-07-11 Thread Simon Heimberg
Thanks Steve for fixing the calls to gdialog.CustomPrompt which I have broken. Sorry for overlooking. Am Freitag, den 10.07.2009, 17:13 +0200 schrieb Simon Heimberg: # HG changeset patch # User Simon Heimberg simohe-y/qullnsqklydzi6cay...@public.gmane.org # Date 1247124969 -7200 # Node ID

Re: [thg-dev] [thg] 0.8.1 is imminent

2009-07-17 Thread Simon Heimberg
ReST was introduced in hg some days ago by Martin Geisler m...@lazybytes.net. Maybe he has some tips. According to jaspern [1] it is possible to include ReST markup in wiki pages like this: {{{ #!parserest HERE IS ReST }}} Adding this to the rest files and including them in the wiki could be

[thg-dev] [PATCH] hgtk: delete compatibility code for Mercurail 1.3

2009-07-22 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1248273681 -7200 # Node ID 3a90036ad0008122ef6c02e37af848f3afad09fc # Parent ec1dbc16820cf15f8a0261f534ac341341b73350 hgtk: delete compatibility code for Mercurail 1.3 diff -r ec1dbc16820c -r 3a90036ad000 hggtk/hgtk.py

[thg-dev] [PATCH 2 of 3] hgemail: fix 2nd error message when tmpfile can not be created

2009-07-23 Thread Simon Heimberg
# HG changeset patch # User Simon Heimberg sim...@besonet.ch # Date 1248337061 -7200 # Node ID 63d2436ce16caf373e09d752176bdc2f1a3182e7 # Parent dbefd99285d9673ff7f6b3fb98dc7017d9bfb1dc hgemail: fix 2nd error message when tmpfile can not be created diff -r dbefd99285d9 -r 63d2436ce16c hggtk

  1   2   >