docs: function(data) {
  				var item = data.items;
  				var gitService = serviceRegistry.getService("orion.git.provider"); //$NON-NLS-0$
  				var progress = serviceRegistry.getService("orion.page.progress"); //$NON-NLS-0$
  				var progressService = serviceRegistry.getService("orion.page.message"); //$NON-NLS-0$
  				var msg = i18nUtil.formatMessage(messages["Merging ${0}"], item.Name);
  				progress.progress(gitService.doMerge(item.HeadLocation, item.Name, true), msg).then(function(result){
  					var display = [];
  
  					if (result.Result === "FAST_FORWARD_SQUASHED" || result.Result === "ALREADY_UP_TO_DATE"){ //$NON-NLS-1$ //$NON-NLS-0$
  						display.Severity = "Ok"; //$NON-NLS-0$
  						display.HTML = false;
  						display.Message = i18nUtil.formatMessage(messages["Merging${0}Succeeded"], item.Name);
  					} else if(result.Result){
  						display.Severity = "Warning"; //$NON-NLS-0$
  						display.HTML = true;
  						display.Message = "<span>" + result.Result +"</span>"; //$NON-NLS-1$ //$NON-NLS-0$
  					} else if(result.error) {
  						display.Severity = "Error"; //$NON-NLS-0$
  						if(result.error.responseText && JSON.parse(result.error.responseText)){
  							var resp = JSON.parse(result.error.responseText);
  							display.Message = resp.DetailedMessage ? resp.DetailedMessage : resp.Message;
  						}else{
  							display.Message = result.error.message;
  						}
  						display.HTML = true;
  						display.Message ="<span>" + display.Message +"</span>"; //$NON-NLS-1$ //$NON-NLS-0$
  					}
  
  					progressService.setProgressResult(display);
  					dispatchModelEventOn({type: "modelChanged", action: "mergeSquash", item: item}); //$NON-NLS-1$ //$NON-NLS-0$
  				}, function (error, ioArgs) {
  					error = null;//hide warning
  					var display = [];
  					display.Severity = "Error"; //$NON-NLS-0$
  					display.HTML = true;
  					display.Message = "<span>" + JSON.stringify(ioArgs.xhr.responseText).DetailedMessage + ".</span>"; //$NON-NLS-1$ //$NON-NLS-0$
  					
  					serviceRegistry.getService("orion.page.message").setProgressResult(display); //$NON-NLS-0$
  					dispatchModelEventOn({type: "modelChanged", action: "mergeSquash", item: item, failed: true}); //$NON-NLS-1$ //$NON-NLS-0$
  				});
  			}