Rockbox Development > Starting Development and Compiling
Reverting to clean SVN
Mad Cow:
I do it another way. I keep a clean copy of the source in another dir and just replace whatever files I need to revert, I have a big hard drive so it's not an issue keeping 2 copies of the source.
dionoea:
--- Quote from: Mad Cow on January 09, 2008, 10:42:22 PM ---I do it another way. I keep a clean copy of the source in another dir and just replace whatever files I need to revert, I have a big hard drive so it's not an issue keeping 2 copies of the source.
--- End quote ---
Then you're in fact keeping 4 copies of each file on your disk, since svn already saves the "clean" version in the .svn directory (so it can run svn diff without having to ask the server). (Just my 2 cents...)
Mad Cow:
SVN reverting never worked right for me, so I just did it that way. It works and I don't care if it takes up alot of space.
major_works:
--- Quote from: cool_walking_ on January 09, 2008, 07:01:46 AM ---"svn clean" seemed like a natural name for that, so I googled it, and...
http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn-clean
I'm assuming it actually works and isn't a work in progress since it says Copyright 2004.
--- End quote ---
OK, next dumb question(s):
Where should this program reside? The top line says:
#!/usr/bin/perl
Is that the directory in which I should place it? Would I simply invoke it from the command line with "svn clean?"
Llorean:
A #! means "run this script using this program". It tells your shell how to interpret it basically. When you run the script, it'll automatically run using perl rather than a default. That shouldn't affect where you put the script.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version