[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Find the last file checked into the repsitory

From: Havlovick, Ron <rhavlovick_at_curtisswright.com>
Date: Fri, 18 Jul 2014 17:28:50 +0000

My repository has many files named, name1.mcs, name2.mcs ...
In short a lot of files with .mcs

I need to checkout the last .mcs file which was checked in.
Each of these files have a date stamp, and hence the latest datesatmp .mcs is what I want.

svn log, svn list, I get all the .mcs files returned as a string. But it does not just return the latest .mcs file.
Hence, I pipe svn list into a list and sort the list. BUT, the time stamp of the string is in the middle of the string (svn list) and not the end.
I am on a windows machine and maybe I am just not getting it, but I am having issue sorting to find where the month, day, time is, then pull the file that accompanies that date.
I want to run this in a batch script.

Would love some help.

Thanks

Ron G. Havlovick
Hardware Design Engineer

Avionics & Electronics Group
Curtiss-Wright
T: 626.851.3100 x2106
rhavlovick@curtisswright.com<mailto:syeung@curtisswright.com> | www.cwc-ae.com<http://www.cwc-ae.com>

_______________________________________________________________________
This e-mail and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have reason to believe that you have received this e-mail in error, please notify the sender and destroy this email and any attached files. Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the Curtiss-Wright Corporation or any of its subsidiaries. Documents attached hereto may contain technology subject to government export regulations. Recipient is solely responsible for ensuring that any re-export, transfer or disclosure of this information is in accordance with applicable government export regulations. The recipient should check this e-mail and any attachments for the presence of viruses. Curtiss-Wright Corporation and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3085410

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-07-18 19:29:01 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.