docs: function(data) {
  				var item = data.items;
  				var progress = serviceRegistry.getService("orion.page.progress"); //$NON-NLS-0$
  				var service = serviceRegistry.getService("orion.git.provider"); //$NON-NLS-0$
  				var headLocation = item.Location.replace(item.Name, "HEAD"); //$NON-NLS-0$
  				var msg = i18nUtil.formatMessage(messages["RevertingCommit"], item.Name);
  				progress.progress(service.doRevert(headLocation, item.Name), msg).then(function(jsonData) {
  					var display = [];
  					if (jsonData.Result === "OK") { //$NON-NLS-0$
  						// operation succeeded
  						display.Severity = "Ok"; //$NON-NLS-0$
  						display.HTML = false;
  						display.Message = jsonData.Result;
  					}
  					// handle special cases
  					else if (jsonData.Result === "FAILURE") { //$NON-NLS-0$
  						display.Severity = "Warning"; //$NON-NLS-0$
  						display.HTML = true;
  						display.Message = "<span>" + jsonData.Result + messages[". Could not revert into active branch"] + "</span>"; //$NON-NLS-1$ //$NON-NLS-0$
  					} 
  					// handle other cases
  					else {
  						display.Severity = "Warning"; //$NON-NLS-0$
  						display.HTML = false;
  						display.Message = jsonData.Result;
  					}
  					serviceRegistry.getService("orion.page.message").setProgressResult(display); //$NON-NLS-0$
  					dispatchModelEventOn({type: "modelChanged", action: "revert"}); //$NON-NLS-1$ //$NON-NLS-0$
  				}, displayErrorOnStatus);
  
  			}