Svn has properties, which let you specify how your repository should be handled. Below the cut, I share my newfound wisdom with you. Hours passed before I finally got svn to relax and ignore what I wanted it to. I didn’t think it would too difficult to get svn to ignore some files for me, but it turns out that svn really likes to pay attention to my files. All Java class files, which have the extension.All built Android files, which have the extension.Thumbs.db: annoying Windows thumbnail database files that are EVERYWHERE.proguard/: directory generated by my editor, Eclipse.bin/ and gen/: directories with generated code.Basically, I needed svn to completely ignore the following: I’m working on an Android project, and I wanted svn to stop looking at me questioningly regarding files and directories that were automatically generated every time I built my source code. But that's a lot of work, and probably unnecessary since the other two methods suggested above should work and are easier.Who knew it would be so hard to get svn to ignore some files and directories? Well, the third option would be to write a program to do this using the Subversion language bindings. Those are the two options I'm aware of for accomplishing what you want. The other option already mentioned is to do your changes in a working copy. Doing multiple actions in a single revision change without having a working copy is only possible using the svnmucc tool that's the purpose of the svnmucc tool in fact. Propedit does work on URLs, but only on one URL at a time. > Most suitable with only one revision change. > Assuming propedit works on URLs(it does) I'm trying to do something like Svnmucc: File already exists: filesystem '/tmp/repo/db', transaction '2-3', path '/foo' Though I am using the cp command here, and not propset the propset command is not working for me for some reason I'm getting the same error you reported earlier: FILE containing serveral versions of 2.Īre you sure? I was able to get svnmucc to do two operations by just listing them one after another in the extra args file: Yes, according to "svnmucc -help", its -extra-args option requires one argument per line in the file. > gives a correct reply and sets the right property FILE containing each arg in a seperate line > gives 'propset NAME VAL URL' is not an action > I tested it using the svnmucc -extra-arg FILE with following results : > Anyway thx for your idea but it doesn't really work the way I need it. Since you want to edit properties of multiple files, svn propedit is not going to work. propedit does not take a VAL argument on the command line rather, it opens an editor and you type the value there.Īlso, svn propedit is for editing a single property of a single file or directory. True, svn propedit can be used on URLs now.īut "svn propedit NAME VAL URL" is not right. > It's the only hint I found to figure this out > comment from Noritada Kobayashi Thu Feb 1 03:55:02 -0700 2007 > new properties(also versioned ones) see, > tested it extensively because it allows you to set > but anyhow svn prop* for versioned properties only work in on a > I'd like to set a property for every file in a certain On Apr 21, 2010, at 09:27, Bettual Richter wrote:
0 Comments
Leave a Reply. |