Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting TortoiseSVN to set a file's modified time to the timestamp of the latest revision

Tags:

I seem to remember being able to get TortoiseSVN to set the last-modified timestamp for files to the timestamp from the revision when performing an update. So if someone committed a file five days ago and I update it, the modified timestamp will be five days ago, not today.

Where is the option?

like image 465
Niall Connaughton Avatar asked Jun 03 '09 14:06

Niall Connaughton


People also ask

How do I update my TortoiseSVN repository?

To update, select the files and/or directories you want, right click and select TortoiseSVN → Update in the explorer context menu. A window will pop up displaying the progress of the update as it runs. Changes done by others will be merged into your files, keeping any changes you may have done to the same files.

How do I edit a TortoiseSVN file?

Click on the new working copy and right click to select the repository browser (TortoiseSVN -> Repo-browser) Right click the file of choice in the repository browser and select "Update item to revision"

How do I commit changes to SVN repository?

Select any file and/or folders you want to commit, then TortoiseSVN → Commit.... The commit dialog will show you every changed file, including added, deleted and unversioned files. If you don't want a changed file to be committed, just uncheck that file.


1 Answers

When I go to the Settings option in the TortoiseSVN menu, I see an option to "Set file dates to the last commit time." This may be what you're looking for.

Invoke the Settings option

Screenshot of how to invoke the TortoiseSVN settings dialog

Set the option

Screenshot of the option to get SVN to timestamp the checked out files with the original file modification date, not the current time

like image 99
Shane Fulmer Avatar answered Sep 29 '22 10:09

Shane Fulmer