def commitTrunk(self, projectName): """ Commit the trunk working copy for the given project. """ commit( FilePath(self.paths).child(projectName).child('trunk'), 'Commit some changes')
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')
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')
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)])
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)])