зеркало из https://github.com/mozilla/pontoon.git
Bug 1201431: remove missing files & folders from HG
This commit is contained in:
Родитель
3bf0d68a5d
Коммит
2892c36b37
|
@ -76,8 +76,8 @@ def pull(url, target):
|
|||
|
||||
|
||||
def push(path):
|
||||
# Add
|
||||
execute(['hg', 'add'], path)
|
||||
# Add new and remove missing
|
||||
execute(['hg', 'addremove'], path)
|
||||
|
||||
# Commit
|
||||
code, output, error = execute(['hg', 'commit', '-m', 'Update'], path)
|
||||
|
|
|
@ -182,8 +182,8 @@ class CommitToHg(CommitToRepository):
|
|||
user = user or self.user
|
||||
author = self.get_author(user)
|
||||
|
||||
# Add
|
||||
add = ["hg", "add"]
|
||||
# Add new and remove missing
|
||||
add = ["hg", "addremove"]
|
||||
execute(add, path)
|
||||
|
||||
# Commit
|
||||
|
|
Загрузка…
Ссылка в новой задаче