Mon, 26 Jul 2010 13:12:32 -0500 письмо от Steve Borho <[email protected]>:
> On Mon, Jul 26, 2010 at 12:58 PM, Kurt Granroth <[email protected]> wrote: > > On 07/26/2010 10:40 AM, Kurt Granroth wrote: > >> Moving to TortoiseHg list since it's not mercurial specific. > >> > >> To recap, when using TortoiseHg to clone a repository with .hgeol, the > >> hgeol hooks are never called and, as a result, the repository is not > >> converted to the proper line endings. ?This is 100% reproducible under > >> both Windows and Linux. > >> > > > > It's looking like the true fix must involve somehow copying over the > > hooks from the original UI object into the various GtkUi copies. > > I'd like to get Martin's input on this, but he is on an extended vacation. > > -- > Steve Borho I do not have this kind of trouble with hgeol. I have a rather big repository with several thousands of files and it gets cloned with correct line endings each time I do this under Windows. I have another trouble though that is somehow related to extensions and hooks. I have line end inconsistencies when using pbranch from THG, to be exact 'finish' command from the context menu. Sometimes (not always and this is the most frustrating thing) I get all the files touched by a pbranch with DOS line endings although usually everything has only UNIX line endings inside the repository data store. This results in wrong patches, etc. I have noticed the inconsistent extensions handling in THG from time to time. Probably the easiest way to reproduce is to start with an empty repository under Winows, add .hgeol file to it with '**=native' and then a text file with DOS line endings. This file will be stored with Unix LE in the repository. Then try to add a repository-specific hgrc file with 'eol=!' in [extensions] section and update the working directory. I cannot get Unix LE in the working directory from THG. Mercurial 'hg update -C' immediately does the work correctly. Usually it is not too tiresome since I do not frequently change the extension set on the fly. The only case I am not happy with at this time is pbranch usage. ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://ad.doubleclick.net/clk;226879339;13503038;l? http://clk.atdmt.com/CRS/go/247765532/direct/01/ _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

