Pull requests

#1 Open
bkuhn/hgidentities-0x4b hgidentities-0x4b
0x4b/hgidentities hgidentities

Different identities based on repository names as well as domains

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/bkuhn/hgidentities-0x4b
  1. Bradley Kuhn avatarBradley Kuhn

Please accept this pull. I've merged in changes made by dwarner to avoid port numbers on the hostname, and I've added my own patch that allows configuration of identity based on repository name.

Comments (1)

  1. Kirk Kelsey repo owner

    My intuition is that the port might be meaningful too, and should be treated like the path.

    If the URL is sub.example.com:8080/some/path

    couldn't we have a different repository at either sub.example.com:8081/some/path or sub.example.com:8080/another/path

    My thinking is that the path components should be stripped off one-by-one, then the port, then the subdomains. Does that seem reasonable?

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.