TortoiseDarcs 2.0.1 Unstable Release


The first release for testing is out. This version is upgraded from 1.0.

By Kari Hoijarvi hoijarvi@seas.wustl.edu

Features

Installation


Have darcs2 on your machine. I test with 2.1.2 (+ 377 patches) from zooko.com. You need darcs2 even if you only use darcs1 repositories, since TD2 uses darcs2 to get the status information.

Log in with admin rights.

Unzip package TortoiseDarcs2.0.1.zip

For troubleshooting: Debug Version:TortoiseDarcs2.0.1-dbg.zip Set Log Directory in dbg.reg and register it before installing.

Edit TD2CFG.reg, and also TD2CFGWow6432.reg if you want to use 32 bit explorer in a 64 bit machine.

"darcs-1"="C:\\Program Files\\darcs\\darcs.exe"
"darcs-2"="C:\\Program Files\\darcs2\\darcs.exe"
"RootDir"="C:\\Program Files\\TortoiseDarcs2"

If you want to use the original TD1 for darcs1 repositories, or TortoiseCVS in general, put TD2 into the existing rootdir and rename darcs-1 key to darcs-1-disabled or something. You cannot disable darcs2 support, since darcs2 is needed for status computing.

run regedit TD2CFG.reg to register your configuration. These registry keys are the same TortoiseCVS keys, so your settings are preserved.

register the dll's:

regsvr32 TortoiseDarcsShellWin32.dll on 32 bit machines and on 64 bit machine for 32 bit explorer
regsvr32 TortoiseDarcsShellX64.dll on 64 bit machine

yes, regsvr32 registers also 64 bit dll's

restart the explorer.

If you give it a try, please let me know: hoijarvi@seas.wustl.edu. I'm especially interested in defects or installation difficulties, this upgrade was an one man-month effort and testing it takes longer. I have tested the features I use, so good luck. Your bug report contributions are appreciated.

 I'd like to know how many actually use this. Let me know.

Uninstallation

Unregister the DLL's:

regsvr32 /U TortoiseDarcsShellWin32.dll
regsvr32 /U TortoiseDarcsShellX64.dll

Restart explorer, delete files.

New Stuff

I didn't add much features, just tried to preserve the old ones. Repository specifi settings is a new feature you should know. Go to Preferences dialog. Darcs tab

Differentiating between "Ignored" and "Not In Darcs" statuses.

I use 'darcs whatsnew -s'  or 'darcs whatsnew -s --look-for-adds' to compute the changed status. For some repositories, --look-for-adds is hideously slow. But you might want to turn "Mark Ignored" on and check it out. Then boring files are different colors than files that can be added.

Marking Conflict files

Not as slow as --look-for-adds, but disabled default anyway. Use this to get conflict icon.

Status Refresh Interval

When the shell asks for icon information, TD2 uses 2 darcs processes in the background. The interval is the minimum amount of seconds that must pass between the background runs. For big repositories you might want to make this a big number and refresh via context menu.

ToDo

Plenty:

Sources

TD2.0.1-src.zip

Compilation requires wxWidgets-2.8.7, boost-1.35, and Visual Studio 2005.

The patches are in "" format. Type

darcs init --hashed

darcs apply -a --allow-conflicts TD2.0.1.patches

to create yourself a repository.

Release History

2.0.1:Fixed reverting and recording individual in subdirectories
Improved refresh status.
2.0.0:Initial release with darcs 2 support.
1.0.0:Original working release.

Special Thanks