Changeset 782 in tailor
- Timestamp:
- 09/01/05 09:12:36 (8 years ago)
- Hash name:
- 20050901071236-4e4b6-84daae238df1df3033ce1232ee7b52199d270b63
- File:
-
- 1 edited
-
vcpx/cg.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/cg.py
r777 r782 154 154 def _prepareWorkingDirectory(self, source_repo): 155 155 """ 156 Create the .git ignore.156 Create the .git/info/exclude. 157 157 """ 158 158 … … 161 161 from dualwd import IGNORED_METADIRS 162 162 163 # Create the .gitignore file, that contains an fnmatch per line 164 # with all known VCs metadirs to be skipped. 165 # .gitignore is per directory, and does not recurse. 166 # We could change to cogito specific .git/ignore or 167 # once/if upstream cogito is updated to use .git/info/exclude, 168 # use it instead of .gitignore 169 ignore = open(join(self.basedir, '.gitignore'), 'w') 163 # Create the .git/info/exclude file, that contains an 164 # fnmatch per line with metadirs to be skipped. 165 ignore = open(join(self.basedir, self.repository.METADIR, 166 'info', 'exclude'), 'a') 167 ignore.write('\n') 170 168 ignore.write('\n'.join(['%s' % md 171 169 for md in IGNORED_METADIRS]))
Note: See TracChangeset
for help on using the changeset viewer.
