David,
My personal feeling is that this should be a fairly simple
shell/batch/PowerShell script job: add a shortcut in the Send To folder
to a batch file so that when you right-click on a received file, you can
choose Send To and it would do most of this stuff for you.
Specifically, the script would:
1. Strip suffixes after the last '_', or whatever, to determine the
original name of the file (saved as e.g. %originalfilename%)
2. Save the customer-given name away as e.g. %customerfilename%
3. Move the new file on top of the versioned one
4. Use TortoiseProc.exe
<http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html#tsvn-automation-basics>
to automatically pop up a commit dialog with pieces of the commit
message filled out already:
tortoiseproc /command:commit /logmsg:"<Insert useful log message here> (committing %customerfilename% as %originalfilename%)"
Does that do the trick? (If you use VBScript or PowerShell for this,
it'd be possible to have the script pop up a file selection dialog after
guessing what name you want to use, so you could confirm its guess there.)
On 2010-01-22 20:37, David Butcher wrote:
> I use Tortoise every day all day.
>
> Thank you for this excellent program.
>
> I work on web projects with customers. We
> share files, but they do not have versioning.
>
> I will set up a file in svn such as:
>
> Site_Architecture.xls
>
> and manage/verion it with Tortoise and my day is happy.
>
> My customers will download it, and send it back named such names as:
> Site_Architecture_012110JDEZ.xls
> Site_Architecture_012110JDEZr1.xls
> Site_Architecture_012110JDEZr2.xls
> etc.
>
> I save their file, copy it on top of Site_Architecture.xls,
> committ, and in the log I have to paste the name of the
> file they sent, which means right-clicking their file,
> selecting rename, selecting copy, and then pasting that
> into the commit log entry.
>
> What do I have a computer? I wonder.
>
> The Feature I would Pay For/Send Beer For/Send Pizza For:
>
> I want to right click their file and have Tortoise offer
> a new option in addition to the current options:
>
> SVN Commit as ...
>
> and if I chose it, I would like Tortoise to:
> Show me a file selection dialog/file tree
> Allow me to select an existing versioned file
> Copy the right-clicked file on top of it
> Begin the commit process
> Fill in the name of the right-clicked file in
> the commit log entry box
> leave my cursor there so I can finish the commit entry.
>
> The original right-clicked file need not be versioned,
> but a checkbox on the file dialog to "Commit Source File"
> with the same log entry might be nice.
>
> Please consider adding the feature - it would save me
> HOURS of extremely stupid work every week!
>
> Thanks,
>
> Please select your preference:
> Money
> Beer
> Pizza
> All of the above
>
> David
>
--
Nathan Tuggy
nathan_at_tuggycomputer.com
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2441389
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-23 11:17:13 CET