hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit f2ff77f3ac3d2f347cc81f7aabf15d5b55cf2e0c
parent ebf3cef1624cbb56e6e6341e2b6f2539a625c370
Author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Date:   Fri,  8 Apr 2016 21:11:44 +0200

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

Diffstat:
Mhugolib/site.go | 2+-
Mhugolib/site_test.go | 2+-
Mtpl/template_funcs.go | 7++++---
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/hugolib/site.go b/hugolib/site.go
@@ -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"
diff --git a/hugolib/site_test.go b/hugolib/site_test.go
@@ -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"
diff --git a/tpl/template_funcs.go b/tpl/template_funcs.go
@@ -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"