Changeset 562 in tailor for vcpx/cvsps.py
- Timestamp:
- 08/15/05 02:24:32 (8 years ago)
- Hash name:
- 20050815002432-97f81-d676e0267483e0bb72350e47397cbc29d61daa3d
- File:
-
- 1 edited
-
vcpx/cvsps.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/cvsps.py
r560 r562 278 278 revision, timestamp = revision.split(' ', 1) 279 279 280 csets = self._getUpstreamChangesets(revision) 281 csets.reverse() 280 csets = self.getPendingChangesets(revision) 282 281 283 282 if timestamp == 'INITIAL': 284 timestamp = csets[ -1].date.isoformat(sep=' ')283 timestamp = csets[0].date.isoformat(sep=' ') 285 284 286 285 if not exists(join(self.basedir, 'CVS')): … … 312 311 "that." % self.basedir) 313 312 314 # update cvsps cache, then loop over the changesets and find the315 # last applied, to findout the actual cvsps revision313 # loop over the changesets and find the last applied, to find 314 # out the actual cvsps revision 316 315 317 316 found = False 318 for cset in csets: 317 while csets: 318 cset = csets.pop(0) 319 319 for m in cset.entries: 320 320 info = entries.getFileInfo(m.name) 321 321 if info: 322 322 actualversion = info.cvs_version 323 found = compare_cvs_revs(actualversion,m.new_revision) >=0323 found = compare_cvs_revs(actualversion,m.new_revision) == 0 324 324 if not found: 325 325 break
Note: See TracChangeset
for help on using the changeset viewer.
