Rockbox Development > Starting Development and Compiling

Restoring all source files with a single command? (Cygwin)

(1/2) > >>

lee321987:
   Is it possible?
   I was sure I only had only one patch applied, but after deleting the files that the patch targets, updating SVN, deleting everything in my build dir, and then a "make veryclean", my build still has "M" in the version (that does mean 'modified' -- right?)
   So I'm thinking maybe I applied a patch a long time ago, but don't remember which one.  Is there a command for Cygwin/SVN that overwrites all patched files with the current official ones?

   Thanks in advance,

Will

P.S. was it redundant to run "make veryclean" after I deleted everything in the build dir?

bluebrother:
use
svn revert -R .

and yes, it's redundant to run "make veryclean" after deleting the build folder -- make only operates on the build folder, it doesn't change the sources itself (which is done by patch).

Llorean:
svn status should tell you what files are modified. svn revert -R * or svn revert -R . should revert everything. I think though that all build compiled yourself show the M, only ones made by the official build system aren't meant to.

lee321987:
   After a revert, 'svn status' reports this:


--- Code: ---?      sim
?      build
?      tools/codepages.exe
?      tools/convbdf.exe
?      tools/bmp2rb.exe
?      tools/scramble.exe
?      tools/rdf2binary.exe
?      rbutil/sansapatcher/PP5022.mi4
?      rbutil/sansapatcher/sansapatcher.exe
?      rbutil/sansapatcher/firmware.mi4
?      rbutil/sansapatcher/bootimg_c200.c
?      rbutil/sansapatcher/bootimg_e200.c
?      rbutil/sansapatcher/bootimg_c200.h
?      rbutil/sansapatcher/bootimg_e200.h
?      rbutil/sansapatcher/bin2c.exe
--- End code ---

   I read somewhere that the question marks mean, "Item is not under version control."  Is it ok to build now, and file (any) bug reports?

yapper:
This thread will shed some light on the ? files:

http://forums.rockbox.org/index.php?topic=14842.0

Navigation

[0] Message Index

[#] Next page

Go to full version