Changeset 68 in tracdarcs for tracdarcs/repository.py


Ignore:
Timestamp:
12/08/07 12:04:48 (6 years ago)
Author:
lele@…
Hash name:
20071208110448-7a6fb-b007c7ad3f5d198556a9fe3d13c738c83ea01a19
Message:

Reintroduce the possibility of customizing the darcs binary

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tracdarcs/repository.py

    r67 r68  
    107107        self.log = log 
    108108        self.config = config 
    109         self.__cmd = DarcsCommand( 'darcs', path, log ) 
     109        darcs = config.get('darcs', 'command', 'darcs') 
     110        if config.get('darcs', 'dont_escape_8bit'): 
     111            darcs = "DARCS_DONT_ESCAPE_8BIT=1 " + darcs 
     112        self.__cmd = DarcsCommand( darcs, path, log ) 
    110113        # import any new changesets, if any 
    111114        update_darcsdb( db, self.__cmd, log ) 
Note: See TracChangeset for help on using the changeset viewer.