Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete empty changelists #187

Open
unwiredben opened this issue Sep 24, 2020 · 2 comments
Open

Delete empty changelists #187

unwiredben opened this issue Sep 24, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@unwiredben
Copy link

I'd like a menu item to delete a changelist that has no files shelved or locally changed. In my workflow, I often commit changes from Swarm, then have to go and delete the local changelist, and right now, this requires me to delete the CL from the command line after remembering it's CL number from the VSCode window.

@mjcrouch
Copy link
Owner

mjcrouch commented Sep 24, 2020

Hi, if you use the revert changelist command it also attempts to delete the changelist at the same time
Though this can fail if there are jobs attached or shelved files for example.

This was inherited from the original extension - I do think it could be more clear, for example if the changelist is empty we could change revert changelist to delete changelist..

P.s I also added the "copy changelist number" command very recently to make remembering the changelist number easier ;)

@unwiredben
Copy link
Author

I didn't know that! I'll try that out next time.

@mjcrouch mjcrouch added the enhancement New feature or request label Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants