monodevelop icon indicating copy to clipboard operation
monodevelop copied to clipboard

[Version Control] If the Repository has no remotes, disable remote commands and show publish command

Open jsuarezruiz opened this issue 6 years ago • 3 comments
trafficstars

If the Repository has no remotes, we already disabled options like push, etc. With this changes we add the option to publish visible without any remotes.

Fixes gh #7176

jsuarezruiz avatar Feb 20 '19 13:02 jsuarezruiz

@sevoku can you review?

slluis avatar Mar 04 '19 09:03 slluis

Thanks for the feedback @sevoku!. I have applied new changes. First of all, in the dialog to publish (disabled tabs, hidden combo to select VCS, etc.). screenshot 2019-03-05 at 12 35 37 On the other hand, in the OnPublish method from the GitRepository we avoid initialize the repository if it already exists and check if there are any pending local change to commit. Of course, we add the remote if it does not exist, etc.

jsuarezruiz avatar Mar 05 '19 13:03 jsuarezruiz

I have made rebase and squash of this branch. I have also removed changes that only related with code format (spaces, etc).

jsuarezruiz avatar May 31 '19 07:05 jsuarezruiz