Skip to content

Commit

Permalink
hg: cleanup dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe de Vienne <[email protected]>
  • Loading branch information
cdevienne committed May 27, 2024
1 parent 255e804 commit ffd1bd9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/vendir/fetch/hg/hg.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,6 @@ func (t *hg) syncClone(dstPath string) error {
return nil
}

func (t *hg) localClone(localClone, dstPath string) error {
if err := t.initClone(dstPath); err != nil {
return err
}
if _, _, err := t.run([]string{"pull", localClone}, dstPath); err != nil {
return err
}
return nil
}

func (t *hg) checkout(dstPath string) (hgInfo, error) {
if _, _, err := t.run([]string{"checkout", t.opts.Ref}, dstPath); err != nil {
return hgInfo{}, err
Expand Down

0 comments on commit ffd1bd9

Please sign in to comment.