On 11.05.2009 05:59, Steve Borho wrote:
> On Sat, May 9, 2009 at 4:57 PM, Steve Borho <st...@borho.org> wrote:
>> I've just uploaded a new preview release to code.google.com (090509).
>> This will be the last installer that has Python shell extensions, so
>> it may be a couple of weeks before I upload another preview.
>>
>> http://code.google.com/p/tortoisehg-nightly/
>>
>> There's about five weeks left before the 0.8 code freeze and so the
>> scope of what will fit into the release will begin to narrow.  Here is
>> what I would like to fit in:
>>
>> 1) The C++ shell extensions, obviously.  For 0.8, I expect even the
>> context menus to be C++.  As such, the context menus in 0.8 may have
>> reduced functionality.   Time will tell.
> 
> http://code.google.com/p/tortoisehg-nightly/downloads/list
> 
> Picture in your mind the usual list of caveats I give for 0.8 preview
> installers.  Ok, now double that.  That's how experimental this is.

It won't blow away your head though. But see below.

> Please be careful with it.  Only install this on a clean machine (do
> not upgrade), and do an uninstall before going back to a stable
> version.  The overlays work, but I have not tried enabling Adrian's
> directory cache extension (it should be in there, though).
> 
> The cmenu's worked, what little testing I did of them.  Debugging is
> compiled in so the debugview sysinternals tool will show you debug
> spew if you're curious.

I've just downloaded and installed
http://tortoisehg-nightly.googlecode.com/files/TortoiseHg-090510.exe

Looks good so far. Context menu and overlays on files work out of
the box.

For testers: to get the overlay icons on directories, you must enable
the new thgstatus extension in your mercurial.ini. In section [extensions]
add a line

thgstatus =

Then you will have a new command "hg thgstatus" [1].

You must do a "hg thgstatus" in each repository where you want to have
overlay icons on the directories. The icons on the directories are
not updated automatically. To update them do a hg thgstatus. We will
probably have to add this to the context menu.

There is also a windows cmd file which does this for all
repos contained in a directory, available at

https://bitbucket.org/sborho/thg-shellext/src/tip/hgext/refreshicons.cmd

Also bear in mind that the new shell extension just reads Mercurials internal
cache file .hg/dirstate and doesn't update it.

Whenever Mercurial writes something to the working tree, chances are
that you will be left with "unset" entries in .hg/dirstate, which will
show up with a modified icon in the shell (false modified). This happens
with a high probability after a "hg clone". "hg thgstatus" will update
.hg/dirstate as a side effect and fix this. We will need to add an implicit
"hg thgstatus" call after a "hg clone" triggered by the cmenu.


[1] https://bitbucket.org/sborho/thg-shellext/src/tip/hgext/thgstatus.py

<snip>
> hg thgstatus -h
hg thgstatus

update directory status cache for TortoiseHg

    Caches the information provided by 'hg status' in the file .hg/thgstatus
    which can then be used by the TortoiseHg shell extension to display
    overlay icons for directories.
    The file .hg/thgstatus contains one line for each directory that has
    removed, modified or added files (in that order of preference). Each line
    consists of one char for the status of the directory (r, m or a), followed
    by the relative path of the directory in the repo.
    If the file is empty, then the repo is clean.

options:

    --remove  remove the status file
 -s --show    just show the contents of the status file (no update)

use "hg -v help thgstatus" to show global options
</snip>

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Tortoisehg-discuss mailing list
Tortoisehg-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to