FredM Posted August 19, 2015 Report Share Posted August 19, 2015 Hi, Imagine you have a repo B containing an xlink that you'd want to edit to point to a more recent cs in repo A. This in order to check that the feature of that cs from repo A works fine in the context of repo B. I know how to edit an xlink and have noticed this operation must be committed before being able to update the files inside the xlink. Is there a means of updating the content of the xlink without having to commit its edit to a newer cs ? So that one could test, and upon success, actually commit the edit to a newer cs. Thanks Fred Link to comment Share on other sites More sharing options...
manu Posted August 20, 2015 Report Share Posted August 20, 2015 Ok, I think the following workflow can work for you, let me know if it helps. 1) Go to the Items view. 2) Right click the xlink you want to "update"/test. 3) Select -> Repository -> View branch explorer. 4) In the new branch explorer right click the changeset you would like to test and select "Merge from this changeset" 5) Process the merge and you will have the new changes and the xlink updated in your pending changes view. Here you can test, compile, whatever. If you are comfortable with the new changesets -> commit, if you are not -> Undo changes. Link to comment Share on other sites More sharing options...
FredM Posted August 20, 2015 Author Report Share Posted August 20, 2015 I'm using the linux GTK client and there's no repository menu item in the context menu. There is history item though, which can display the history of the pointed item in history panel on the right side. I guess the repository menu item in the context menu will be restored in a future release. Fred Link to comment Share on other sites More sharing options...
manu Posted August 21, 2015 Report Share Posted August 21, 2015 Hi Fred, ok if you are using gtkplastic there's no was to do it right now, I'm sure we'll implement it soon, right now I can give you a command line alternative. You can do the following: cm merge branch-targeting-the-xlink@xlinked-repo@server:port --merge The changes will be placed in your workspace and again you can commit them or undo them if you are not happy with the new changes. Link to comment Share on other sites More sharing options...
BrianCook99 Posted January 22, 2016 Report Share Posted January 22, 2016 This simple workflow was exactly what I've been looking for. This is a very common need when working with shared projects. Please ensure the documentation page is updated so that others don't have to waste time trying to figure this out! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.