use HEAD instead of master

This commit is contained in:
Paul Woolcock 2018-02-12 22:33:16 -05:00
parent 161e29e6d6
commit 107840c6ee

View file

@ -8,7 +8,7 @@ const BITBUCKET_USER_CONTENT_BASE_URI: &'static str = "https://bitbucket.org";
pub fn get_manifest_uri(repo_path: &RepoPath, path: &RelativePathBuf) -> Result<Uri, Error> {
let path_str: &str = path.as_ref();
Ok(format!("{}/{}/{}/raw/master/{}",
Ok(format!("{}/{}/{}/raw/HEAD/{}",
BITBUCKET_USER_CONTENT_BASE_URI,
repo_path.qual.as_ref(),
repo_path.name.as_ref(),