Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/26/03 21:51
Read: times


 
#42318 - RE: Software Version Control
Responding to: ???'s previous message
"use predefined A51 macros, such as __date__ and __time__"

Yes - and 'C' has similar definitions.
I use these in a file called timestamp.c, and set the 'Always Build' options for that file in the uVision Project.

Was your question just about this time-stamping, or did you want more change control?

In a previous thread, I mentioned QVCS - this is simple, lightweight, and cheap (possibly even free - check the licence terms for your intended usage)

Another useful tool for free, DIY, version control is the MS-DOS Archive Attribute - this is set automatically by the file system whenever a file is modified.
This MS-DOS command line will list all modified files in a directory structure:
DIR /aa /s /b
The /b gives you the listing in "bare" format - without the usual header & trailer info, one file per line with its relative path.

Use the attrib command to "manually" alter file attributes.

The /a and /m options make xcopy selectively copy only modified files:
/a copies only modified files;
/m copies only modified files, and clears the Archive Attribute on the source files when its done.
The /e switch makes xcopy include empty folders - so you can recreate your full folder structure while only copying modified files

PKZIP and WinZip both have options for selecting files by Attribute.


List of 19 messages in thread
TopicAuthorDate
Software Version Control            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      
      RE: Software Version Control            01/01/70 00:00      
         RE: Software Version Control            01/01/70 00:00      
            RE: Software Version Control            01/01/70 00:00      
               RE: Software Version Control w/ tar            01/01/70 00:00      
                  RE: Incremental TAR / Craig            01/01/70 00:00      
            RE: Software Version Control/Andy            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      
      RE: Software Version Control            01/01/70 00:00      
      RE: Dates in Filenames - Paul, Dennis            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      
      Version Control - not just for Software!            01/01/70 00:00      
   sccs, cssc, rcs, cvs            01/01/70 00:00      
      RE: sccs, cssc, rcs, cvs            01/01/70 00:00      
   RE: Software Version Control            01/01/70 00:00      

Back to Subject List