Changeset 549 in tailor
- Timestamp:
- 08/10/05 15:08:29 (8 years ago)
- Hash name:
- 20050810130829-97f81-fd5a176528db6f086650d0cd78275ab135cc3353
- File:
-
- 1 edited
-
vcpx/hg.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/hg.py
r547 r549 113 113 copy.execute(oldname, newname) 114 114 115 def _ initializeWorkingDir(self):115 def _prepareTargetRepository(self, source_repo): 116 116 """ 117 117 Execute ``hg init``. 118 118 """ 119 120 from os import getenv121 from os.path import join122 from re import escape123 from dualwd import IGNORED_METADIRS124 119 125 120 init = ExternalCommand(cwd=self.basedir, … … 130 125 raise TargetInitializationFailure( 131 126 "%s returned status %s" % (str(init), init.exit_status)) 127 128 def _prepareWorkingDirectory(self, source_repo): 129 """ 130 Create the .hgignore. 131 """ 132 133 from os.path import join 134 from re import escape 135 from dualwd import IGNORED_METADIRS 132 136 133 137 # Create the .hgignore file, that contains a regexp per line … … 147 151 ignore.close() 148 152 153 def _initializeWorkingDir(self): 154 """ 155 Use ``hg addremove`` to import initial version of the tree. 156 """ 157 149 158 ExternalCommand(cwd=self.basedir, 150 159 command=[self.repository.HG_CMD, "addremove"]).execute()
Note: See TracChangeset
for help on using the changeset viewer.
