Changeset 770 in tailor
- Timestamp:
- 09/05/05 13:59:20 (8 years ago)
- Hash name:
- 20050905115920-97f81-e33bd4c83300527b55624eca6fd43ab5eb1362f2
- File:
-
- 1 edited
-
vcpx/dualwd.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/dualwd.py
r754 r770 24 24 from target import SyncronizableTargetWorkingDir 25 25 from shwrap import ExternalCommand 26 from datetime import datetime 26 27 27 28 IGNORED_METADIRS = [] … … 107 108 def _syncTargetWithSource(self): 108 109 cmd = ['rsync', '--delete', '--archive'] 110 now = datetime.now() 111 if hasattr(self, '_last_rsync'): 112 last = self._last_rsync 113 if not (now-last).seconds: 114 cmd.append('--ignore-times') 115 self._last_rsync = now 109 116 for M in IGNORED_METADIRS: 110 117 cmd.extend(['--exclude', M])
Note: See TracChangeset
for help on using the changeset viewer.
