Skip to content

Simplify bitbucket src view URL #80

@paulirish

Description

@paulirish

So bitbucket is supposed to be able to view a branch URL like:

bitbucket.com/user/repo/src/mybranch/

However we're currently mimicking the URL that the site generates like:

bitbucket.com/user/repo/src/commitsha/?at=branchname

I'd prefer to use the simple version, as @derimagia's rewrite does. However it turns out there's a problem with branches including a / (slash) in the name.


I've filed this issue upstream: https://bitbucket.org/site/master/issues/14422/source-view-url-of-branch-name-with

Until that's resolved, I think we'll need the longer URL (unless someone identifies a better workaround).

So for now, this is our downstream tracking issue until the BB one is fixed. 😉

cc @nwinkler @davidosomething

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions