mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
mononoke: fix a comment
Reviewed By: farnz Differential Revision: D22816709 fbshipit-source-id: 7c338034bdfb835133eda12d23385fe432557868
This commit is contained in:
parent
979ffaa58a
commit
264a1493ca
@ -57,7 +57,7 @@ pub trait BookmarkTransaction: Send + Sync + 'static {
|
||||
|
||||
/// Adds create() operation to the transaction set.
|
||||
/// Creates a bookmark. BookmarkName should not already exist, otherwise committing the
|
||||
/// transaction will fail. The resulting Bookmark will be PushDefault.
|
||||
/// transaction will fail. The resulting Bookmark will be PullDefault.
|
||||
fn create(
|
||||
&mut self,
|
||||
bookmark: &BookmarkName,
|
||||
@ -106,7 +106,7 @@ pub trait BookmarkTransaction: Send + Sync + 'static {
|
||||
) -> Result<()>;
|
||||
|
||||
/// Adds a scratch bookmark create operation to the transaction set.
|
||||
/// Creates a new bookmark, configured as scratch. It shuld not exist already.
|
||||
/// Creates a new bookmark, configured as scratch. It should not exist already.
|
||||
fn create_scratch(&mut self, bookmark: &BookmarkName, new_cs: ChangesetId) -> Result<()>;
|
||||
|
||||
/// Commits the transaction. Future succeeds if transaction has been
|
||||
|
Loading…
Reference in New Issue
Block a user