This should work fine (it is the same structure as goprotobuf) 

hg_clone(https://code.google.com/p/snappy-go <tag>) 

You would have to import it as 
import "code.google.com/p/snappy-go/snappy" 

Trink 

----- Original Message -----

> From: "David Birdsong" <[email protected]>
> To: "heka" <[email protected]>
> Sent: Friday, January 31, 2014 2:16:52 PM
> Subject: [heka] add_external_plugin hg and plugin subdirectories

> Is there a way to reference external plugins that don't expose the pkgname at
> the root of their repo?

> I see that github references work fine with subdirectories, but hg references
> to code.google.com don't.

> For instance, how could I declare snappy?

> Repo root: https://code.google.com/p/snappy-go/
> subdirectory w/ go files: "snappy"
> packagename: "snappy"

> _______________________________________________
> Heka mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/heka
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to