Beispiel #1
0
 def commitTrunk(self, projectName):
     """
     Commit the trunk working copy for the given project.
     """
     commit(
         FilePath(self.paths).child(projectName).child('trunk'),
         'Commit some changes')
Beispiel #2
0
 def commitBranch(self, projectName, branchName):
     """
     Commit a branch working for the given project.
     """
     commit(
         FilePath(self.paths).child(projectName).child('branches').child(
             branchName), 'Commit some changes')
Beispiel #3
0
 def commitTrunk(self, projectName):
     """
     Commit the trunk working copy for the given project.
     """
     commit(
         FilePath(self.paths).child(projectName).child('trunk'),
         'Commit some changes')
Beispiel #4
0
 def commitBranch(self, projectName, branchName):
     """
     Commit a branch working for the given project.
     """
     commit(
         FilePath(self.paths).child(projectName).child(
             'branches').child(branchName),
         'Commit some changes')
Beispiel #5
0
 def test_commit(self):
     """
     Changes in the working copy passed to L{commit} are committed to the
     repository.
     """
     commit(self.workingCopy, "change stuff about", self.runCommand)
     self.assertEquals(
         self.commands,
         [("svn commit -m 'change stuff about' " + self.workingCopy.path, None)])
Beispiel #6
0
 def test_commit(self):
     """
     Changes in the working copy passed to L{commit} are committed to the
     repository.
     """
     commit(self.workingCopy, "change stuff about", self.runCommand)
     self.assertEquals(self.commands,
                       [("svn commit -m 'change stuff about' " +
                         self.workingCopy.path, None)])