Changeset 632 in tailor for vcpx/darcs.py


Ignore:
Timestamp:
08/19/05 11:39:52 (8 years ago)
Author:
lele@…
Hash name:
20050819093952-97f81-770022271590e2a24f448692fcb7543c581f83eb
Message:

Ignore the journal file when it resides under the basedir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vcpx/darcs.py

    r631 r632  
    504504            boring.write('$\n') 
    505505        if self.state_file.filename.startswith(self.basedir): 
     506            sfrelname = self.state_file.filename[len(self.basedir)+1:] 
    506507            boring.write('^') 
    507             boring.write(self.state_file.filename[len(self.basedir)+1:]) 
     508            boring.write(sfrelname) 
     509            boring.write('$\n') 
     510            boring.write('^') 
     511            boring.write(sfrelname+'.journal') 
    508512            boring.write('$\n') 
    509513        boring.close() 
Note: See TracChangeset for help on using the changeset viewer.