зеркало из https://github.com/microsoft/git.git
git-p4: Fix indentation from tab to spaces
Signed-off-by: Toby Allsopp <toby.allsopp@navman.co.nz>
This commit is contained in:
Родитель
a4cfcb023d
Коммит
053d9e432b
|
@ -1646,7 +1646,7 @@ class P4Clone(P4Sync):
|
|||
depotPath = args[0]
|
||||
depotDir = re.sub("(@[^@]*)$", "", depotPath)
|
||||
depotDir = re.sub("(#[^#]*)$", "", depotDir)
|
||||
depotDir = re.sub(r"\.\.\.$", "", depotDir)
|
||||
depotDir = re.sub(r"\.\.\.$", "", depotDir)
|
||||
depotDir = re.sub(r"/$", "", depotDir)
|
||||
return os.path.split(depotDir)[1]
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче