Opened 2 years ago
Closed 2 years ago
Last modified 4 days ago
Added attachment move command to TracAdmin.
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.3.6
By Edgewall Software
Visit the Trac open source project athttps://trac.edgewall.org/
Copyright © 2003-2019 Edgewall Software. All rights reserved.