Changeset 311 in tailor
- Timestamp:
- 05/20/05 11:30:00 (8 years ago)
- Hash name:
- 20050520093000-97f81-7a8ffb6ccafafe4a7ce7adc0943509f5eff89487
- Location:
- vcpx
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
vcpx/changes.py
r305 r311 17 17 Represent a changed entry in a Changeset. 18 18 19 For our scope, this simply means an entry ` name`, the original20 ` old_revision`, the `new_revision` after this change, an21 ` action_kind` to denote the kind of change, and finally a `status`19 For our scope, this simply means an entry ``name``, the original 20 ``old_revision``, the ``new_revision`` after this change, an 21 ``action_kind`` to denote the kind of change, and finally a ``status`` 22 22 to indicate possible conflicts. 23 23 """ … … 65 65 66 66 Normalize the message reducing multiple spaces and newlines to single 67 spaces, recognizing common form of ` bullet lists`, that is paragraphs67 spaces, recognizing common form of ``bullet lists``, that is paragraphs 68 68 starting with either a dash "-" or an asterisk "*". 69 69 """ -
vcpx/cvsps.py
r305 r311 306 306 307 307 def _checkoutUpstreamRevision(self, basedir, repository, module, revision, 308 subdir=None, logger=None ):308 subdir=None, logger=None, **kwargs): 309 309 """ 310 310 Concretely do the checkout of the upstream sources. Use `revision` as … … 367 367 return last.revision 368 368 369 def _willApplyChangeset(self, root, changeset, applyable ):369 def _willApplyChangeset(self, root, changeset, applyable=None): 370 370 """ 371 371 This gets called just before applying each changeset. … … 460 460 461 461 This is to prevent silly errors such those that could arise 462 after a manual ` cvs update` in the working directory.462 after a manual ``cvs update`` in the working directory. 463 463 """ 464 464 -
vcpx/source.py
r305 r311 44 44 """ 45 45 This is an abstract working dir able to follow an upstream 46 source of ` changesets`.46 source of ``changesets``. 47 47 48 It has t womain functionalities:48 It has three main functionalities: 49 49 50 50 getUpstreamChangesets … … 181 181 182 182 def _checkoutUpstreamRevision(self, basedir, repository, module, revision, 183 logger=None, **kwargs):183 subdir=None, logger=None, **kwargs): 184 184 """ 185 185 Concretely do the checkout of the upstream revision. -
vcpx/target.py
r305 r311 44 44 performed by the upstream VC system on the tree such as 45 45 renames, deletions and adds. This is an useful argument to 46 feed as ` replay` to `applyUpstreamChangesets`46 feed as ``replay`` to ``applyUpstreamChangesets`` 47 47 48 48 initializeNewWorkingDir … … 70 70 changeset. 71 71 72 If ` delayed_commit` is not True, the changeset is committed72 If ``delayed_commit`` is not True, the changeset is committed 73 73 to the target VC right after a successful application; otherwise 74 74 the various information get registered and will be reused later, … … 115 115 commit of all changed entries. 116 116 117 With ` concatenate_logs` there's control over the folded117 With ``concatenate_logs`` there's control over the folded 118 118 changesets message log: if True every changelog is appended in 119 119 order of application, otherwise it will contain just the name … … 304 304 self._renamePathname(root, e.old_name, e.name) 305 305 306 def _renamePathname(self, root, old entry, newentry):306 def _renamePathname(self, root, oldname, newname): 307 307 """ 308 308 Rename a filesystem object to some other name/location. … … 328 328 def _initializeWorkingDir(self, root, repository, module, subdir): 329 329 """ 330 Assuming the ` root` directory contains a working copy `module`330 Assuming the ``root`` directory contains a working copy ``module`` 331 331 extracted from some VC repository, add it and all its content 332 332 to the target repository. -
vcpx/darcs.py
r305 r311 8 8 9 9 """ 10 This module contains supporting classes for the ` darcs` versioning system.10 This module contains supporting classes for the ``darcs`` versioning system. 11 11 """ 12 12 … … 45 45 Parse XML output of ``darcs changes``. 46 46 47 Return a list of ` Changeset`s.47 Return a list of ``Changeset`` instances. 48 48 """ 49 49 … … 214 214 215 215 def _checkoutUpstreamRevision(self, basedir, repository, module, revision, 216 subdir=None, logger=None ):216 subdir=None, logger=None, **kwargs): 217 217 """ 218 218 Concretely do the checkout of the upstream revision. … … 294 294 def _addSubtree(self, root, subdir): 295 295 """ 296 Use the --recursive variant of ` darcs add` to add a subtree.296 Use the --recursive variant of ``darcs add`` to add a subtree. 297 297 """ 298 298 … … 363 363 def _initializeWorkingDir(self, root, repository, module, subdir): 364 364 """ 365 Execute ` darcs initialize` and tweak the default settings of365 Execute ``darcs initialize`` and tweak the default settings of 366 366 the repository, then add the whole subtree. 367 367 """ -
vcpx/svn.py
r305 r311 306 306 307 307 def _checkoutUpstreamRevision(self, basedir, repository, module, revision, 308 subdir=None, logger=None ):308 subdir=None, logger=None, **kwargs): 309 309 """ 310 310 Concretely do the checkout of the upstream revision. -
vcpx/shwrap.py
r305 r311 58 58 class VerboseStringIO(StringIO): 59 59 60 def write(self, data):60 def write(self, s): 61 61 """Give a feedback to the user.""" 62 62 63 StringIO.write(self, data)64 stderr.write('.'* data.count('\n'))63 StringIO.write(self, s) 64 stderr.write('.'*s.count('\n')) 65 65 66 66 def joinall(threadlist): -
vcpx/tailor.py
r305 r311 12 12 This implementation stores the relevant project information, needed to 13 13 keep the whole thing going on, such as the last synced revision, in a 14 unversioned file named ` tailor.info` at the root.14 unversioned file named ``tailor.info`` at the root. 15 15 """ 16 16 … … 26 26 def relpathto(source, dest): 27 27 """ 28 Compute the relative path needed to point ` source` from `dest`.29 30 Warning: ` dest` is assumed to be a directory.28 Compute the relative path needed to point ``source`` from ``dest``. 29 30 Warning: ``dest`` is assumed to be a directory. 31 31 """ 32 32 … … 289 289 Bootstrap a new tailorized module. 290 290 291 Extract a copy of the ` repository` at given `revision` in the `root`292 directory and initialize a target repository with its content.291 Extract a copy of the ``repository`` at given ``revision`` in the 292 ``root`` directory and initialize a target repository with its content. 293 293 294 294 The actual information on the project are stored in a text file. … … 376 376 377 377 Fetch the upstream changesets and apply them to the working copy. 378 Use the information stored in the ` tailor.info` file to ask just378 Use the information stored in the ``tailor.info`` file to ask just 379 379 the new changeset since last bootstrap/synchronization. 380 380 """ -
vcpx/cdv.py
r305 r311 97 97 def _initializeWorkingDir(self, root, repository, module, subdir): 98 98 """ 99 Execute ` cdv init`.99 Execute ``cdv init``. 100 100 """ 101 101 -
vcpx/bzr.py
r309 r311 94 94 def _initializeWorkingDir(self, root, repository, module, subdir): 95 95 """ 96 Execute ` bzr init`.96 Execute ``bzr init``. 97 97 """ 98 98
Note: See TracChangeset
for help on using the changeset viewer.
