Make Hugo build without Mercurial

By creating a fork of the Bitbucket inflect repo. It hasn't changed since 2013,
so it must be considered pretty stable.

Fixes #2062
This commit is contained in:
Bjørn Erik Pedersen 2016-04-08 21:11:44 +02:00
parent ebf3cef162
commit f2ff77f3ac
3 changed files with 6 additions and 5 deletions

View file

@ -31,7 +31,7 @@ import (
"path" "path"
"bitbucket.org/pkg/inflect" "github.com/bep/inflect"
"github.com/spf13/afero" "github.com/spf13/afero"
"github.com/spf13/cast" "github.com/spf13/cast"
bp "github.com/spf13/hugo/bufferpool" bp "github.com/spf13/hugo/bufferpool"

View file

@ -23,7 +23,7 @@ import (
"testing" "testing"
"time" "time"
"bitbucket.org/pkg/inflect" "github.com/bep/inflect"
"github.com/spf13/hugo/helpers" "github.com/spf13/hugo/helpers"
"github.com/spf13/hugo/hugofs" "github.com/spf13/hugo/hugofs"

View file

@ -24,8 +24,6 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"github.com/spf13/afero"
"github.com/spf13/hugo/hugofs"
"html" "html"
"html/template" "html/template"
"math/rand" "math/rand"
@ -39,7 +37,10 @@ import (
"time" "time"
"unicode/utf8" "unicode/utf8"
"bitbucket.org/pkg/inflect" "github.com/spf13/afero"
"github.com/spf13/hugo/hugofs"
"github.com/bep/inflect"
"github.com/spf13/cast" "github.com/spf13/cast"
"github.com/spf13/hugo/helpers" "github.com/spf13/hugo/helpers"