Jump to content
nqramjets

Updated plastic:// URLs to launch diff windows

Recommended Posts

It's very handy for us to be able to send links to each other at my work which lead to a particular diff.

 

Based on some old blog posts I tried to implement this the best I could but was having issues using the syntax indicated. (see this post: http://www.plasticscm.net/index.php?/topic/2491-jira-interactive-link-to-changeset/?hl=%2Bjira+%2Bplastic)

 

To launch a diff use the following URLs (On Windows)

 

Branch Diff: 

plastic://showbranch=br:<BranchPath>@<RepoName>@<Server:Port>

Changeset Diff:

plastic://showchangeset=cs:<Cset Number>@br:<Branch Path>@<RepoName>@<Server:Port>

I'm just posting this to help someone else out who may be trying to do the same thing.

  • Like 2

Share this post


Link to post
Share on other sites

Hi Manu,

 

You know what would be another slick URL path, would be a showcodereview, but I don't know how you would specify it... There nothing obvious displayed in the UI. :-(

 

Thanks,

Ryan

Share this post


Link to post
Share on other sites

oh, yes, I'm sorry there's no way to currently do it.

 

You can add the suggestion to the uservoice: plasticscm.uservoice.com/forums/15467-general

Share this post


Link to post
Share on other sites

Just found this, and it seems like it could be quite handy for achieving better integration with various issue trackers!

Is there any reason why this (or the WebUI alternative) isn't documented more prominently (eg, is it at risk of being deprecated, etc)? I'm pretty sure I've read through most if not all of the online documentation (minus blog posts) and this is the first I've come across this!

Also, is it possible to link to a diff via changeset GUID instead (given that changeset numbers can vary across replicated servers)?

Cheers

David

 

 

Share this post


Link to post
Share on other sites

Well, you are right that this feature is probably not very well documented. You should be able to use both changeset id or guid.

Regards,

Carlos.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...