Opened 4 years ago
Closed 4 years ago
Last modified 20 months ago
Added TracAdmin attachment move command.
Similar to API to reparent attachments:
diff -r 0dd110ecb8e9 trac/attachment.py
Looks fine to me, but patch didn't apply cleanly to the trunk (TracDev/SubmittingPatches). It will need unit tests before we can commit the changes.
We could also add TracAdmin rename and reparent commands. Or maybe combine them in a single move <realm:id> <name> <new_realm:new_id> <new_name> command. We should also consider whether rename and reparent should be combined in a single method, adding an optional filename argument to reparent and possibly renaming the method to move.
move <realm:id> <name> <new_realm:new_id> <new_name>
Proposed changes in log:rjollos.git:t12870_attachment_rename.1.
Committed to trunk in r16160.
I noticed the API changes, just now….
Powered by Trac 1.4.3
By Edgewall Software
Visit the Trac open source project athttps://trac.edgewall.org/
Copyright © 2003-2021 Edgewall Software. All rights reserved.