Make Hugo build without Mercurial
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 8 Apr 2016 19:11:44 +0000 (21:11 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 8 Apr 2016 19:11:44 +0000 (21:11 +0200)
By creating a fork of the Bitbucket inflect repo. It hasn't changed since 2013,
so it must be considered pretty stable.

Fixes #2062

hugolib/site.go
hugolib/site_test.go
tpl/template_funcs.go

index 5deb98bd5a2bc5999e248bf17129d201bb5610d4..f7615170cd30817929506b19fd8f186639f5b117 100644 (file)
@@ -31,7 +31,7 @@ import (
 
        "path"
 
-       "bitbucket.org/pkg/inflect"
+       "github.com/bep/inflect"
        "github.com/spf13/afero"
        "github.com/spf13/cast"
        bp "github.com/spf13/hugo/bufferpool"
index 8cbe35d44d9e108ad37562c38294b0e4ebe63d07..9f0abc98cc14fbf63dddf554e8fa6d1394b099b6 100644 (file)
@@ -23,7 +23,7 @@ import (
        "testing"
        "time"
 
-       "bitbucket.org/pkg/inflect"
+       "github.com/bep/inflect"
 
        "github.com/spf13/hugo/helpers"
        "github.com/spf13/hugo/hugofs"
index c3e807176709673b49deee859244630dac60234e..9131cc1ecbd4686e0b32af73d4c95f8b330a7f07 100644 (file)
@@ -24,8 +24,6 @@ import (
        "encoding/json"
        "errors"
        "fmt"
-       "github.com/spf13/afero"
-       "github.com/spf13/hugo/hugofs"
        "html"
        "html/template"
        "math/rand"
@@ -39,7 +37,10 @@ import (
        "time"
        "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/hugo/helpers"