Changeset 187 in tailor
- Timestamp:
- 12/27/04 21:30:08 (8 years ago)
- Hash name:
- 20041227203008-97f81-114a1e6d6d5ee122b2e6389e2ea9b18ef7df39ab
- Files:
-
- 2 edited
-
vcpx/tailor.py (modified) (2 diffs)
-
README (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/tailor.py
r183 r187 210 210 print >>f, self.upstream_repos 211 211 print >>f, self.upstream_revision 212 print >>f, self.subdir 212 213 f.close() 213 214 … … 227 228 statusfilename = join(self.root, STATUS_FILENAME) 228 229 f = open(statusfilename) 229 (srck, dstk, 230 module, upstream_repos, upstream_revision) = f.readlines() 231 self.source_kind = srck[:-1] 232 self.target_kind = dstk[:-1] 233 self.module = module[:-1] 234 self.subdir = split(self.module)[1] 235 self.upstream_repos = upstream_repos[:-1] 236 self.upstream_revision = upstream_revision[:-1] 230 self.source_kind = f.readline()[:-1] 231 self.target_kind = f.readline()[:-1] 232 self.module = f.readline()[:-1] 233 self.upstream_repos = f.readline()[:-1] 234 self.upstream_revision = f.readline()[:-1] 235 subdir = f.readline() 236 if subdir: 237 self.subdir = subdir[:-1] 238 else: 239 self.subdir = split(self.module)[1] 237 240 f.close() 238 241 -
README
r185 r187 86 86 4. The URL of the upstream repository (that may not be an URL, for cvs...) 87 87 5. The current revision, from the upstream point of view, of the sources 88 6. The subdirectory that contains the checked out upstream tree, 89 either that given with with the `--subdir` option or computed 90 taking the last part of the module name. 88 91 89 92 This is everything tailor needs, to be able to keep going from where it
Note: See TracChangeset
for help on using the changeset viewer.
