##// END OF EJS Templates
pr: Add UpdateResponse data structure to hold response data when updating commits.
Martin Bornhold -
r1073:8558abab default
parent child Browse files
Show More
@@ -60,6 +60,12 b' from rhodecode.model.settings import Vcs'
60 log = logging.getLogger(__name__)
60 log = logging.getLogger(__name__)
61
61
62
62
63 # Data structure to hold the response data when updating commits during a pull
64 # request update.
65 UpdateResponse = namedtuple(
66 'UpdateResponse', 'success, reason, new, old, changes')
67
68
63 class PullRequestModel(BaseModel):
69 class PullRequestModel(BaseModel):
64
70
65 cls = PullRequest
71 cls = PullRequest
General Comments 0
You need to be logged in to leave comments. Login now