新增功能区分推送与未推送的版本
This commit is contained in:
@@ -282,6 +282,16 @@ export function ResetProject(path, hash, mode) {
|
||||
return $Call.ByID(2061148684, path, hash, mode);
|
||||
}
|
||||
|
||||
/**
|
||||
* RevertCommit 撤回指定提交(生成一个反向提交)
|
||||
* @param {string} path
|
||||
* @param {string} hash
|
||||
* @returns {$CancellablePromise<void>}
|
||||
*/
|
||||
export function RevertCommit(path, hash) {
|
||||
return $Call.ByID(1334788539, path, hash);
|
||||
}
|
||||
|
||||
/**
|
||||
* SelectDirectory 打开系统文件夹选择器,返回选中的路径
|
||||
* @returns {$CancellablePromise<string>}
|
||||
|
||||
@@ -133,6 +133,13 @@ export class CommitLog {
|
||||
*/
|
||||
this["message"] = "";
|
||||
}
|
||||
if (!("pushed" in $$source)) {
|
||||
/**
|
||||
* @member
|
||||
* @type {boolean}
|
||||
*/
|
||||
this["pushed"] = false;
|
||||
}
|
||||
|
||||
Object.assign(this, $$source);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user