Skip to content

Commit

Permalink
Allow cloning sapling repositories when sapling is used for devel pkg
Browse files Browse the repository at this point in the history
  • Loading branch information
ktf committed Mar 20, 2024
1 parent 0f62890 commit 7cb7fa7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions alibuild_helpers/sl.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def diffCmd(self, directory):

def checkUntracked(self, line):
return line.startswith("? ")
def cloneCmd(self, source, referenceRepo, usePartialClone):
cmd = ["clone", source, referenceRepo]
return cmd

Check warning on line 46 in alibuild_helpers/sl.py

View check run for this annotation

Codecov / codecov/patch

alibuild_helpers/sl.py#L45-L46

Added lines #L45 - L46 were not covered by tests


def sapling(args, directory=".", check=True, prompt=True):
Expand Down

0 comments on commit 7cb7fa7

Please sign in to comment.