diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2010-07-20 21:17:36 +0530 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2010-07-20 21:17:36 +0530 |
commit | 09c6fbf79bd4e8821b799ccf79f4046a5eed6592 (patch) | |
tree | efd707059e754b5c455c620c6e0ed857d9232abf /src/repository.h | |
parent | 4f080c2c934d5caa7a8eae8123cfbab7a735cc11 (diff) | |
download | svn2git-09c6fbf79bd4e8821b799ccf79f4046a5eed6592.tar svn2git-09c6fbf79bd4e8821b799ccf79f4046a5eed6592.tar.gz svn2git-09c6fbf79bd4e8821b799ccf79f4046a5eed6592.tar.bz2 svn2git-09c6fbf79bd4e8821b799ccf79f4046a5eed6592.tar.xz svn2git-09c6fbf79bd4e8821b799ccf79f4046a5eed6592.zip |
Add a resetBranch() to help refactor createBranch and deleteBranch.
Only deleteBranch uses it for now.
Diffstat (limited to 'src/repository.h')
-rw-r--r-- | src/repository.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/repository.h b/src/repository.h index ec821e2..d4f3d54 100644 --- a/src/repository.h +++ b/src/repository.h @@ -113,6 +113,8 @@ private: // called when a transaction is deleted void forgetTransaction(Transaction *t); + int resetBranch(const QString &branch, int revnum, int mark, const QByteArray &resetTo, const QByteArray &comment); + friend class ProcessCache; Q_DISABLE_COPY(Repository) }; |