Feature request: Allow auto-closing the revert window if there are no modifications

12 views
Skip to first unread message

Kevin Lyles

unread,
Sep 21, 2020, 4:43:18 PM9/21/20
to TortoiseSVN

I'm automating the revert window, and the /closeoneend parameter is great when there are modifications to revert (it closes the status window once everything is reverted).  However, much of the time there are no modifications.  I would like a parameter that will close the first Revert window if there are no modifications, so the next step in the process can be started without someone clicking something.

I could probably achieve this by checking if there are any modifications with the command line SVN client before launching Tortoise, but that requires scanning for modifications twice.  I'd prefer a solution that worked more efficiently.

Note that when there are modifications, the developer needs to be able to select which files (if any) should be reverted, which means I can't just use the command line SVN client.

I'm picturing either:
  • A new parameter (perhaps /closeifnothingtodo, /closeifnochanges, or /closeifnomodifications)
  • New values for /closeonend that add the new behavior to each of the existing values
I would mildly prefer the former, but either would work for me.  This could probably apply to commit and add (and maybe other commands) as well, but I only need it for revert.
Reply all
Reply to author
Forward
0 new messages