> I'm a new Versions user and I'm trying to figure out a way to add new > files automatically by committing any changes (in this case the > addition of extra files to the folder). Can it be done? I've noticed > that I have to first add the new files to the repository and then > commit. If there is any way around this, any help would be > appreciated.
Sadly (happily?), this is the way subversion works. Each operation (add, commit, update, etc.) is meant to be an atomic event. So if you want to commit a file that isn't added yet, you have to add it first, then commit it. This does make life easier if you're working with other people, since you can queue up a bunch of changes (including adding files) and commit them all at the same time. This helps make sure the repository isn't in an unstable state. For example if you added and committed files over the course of an afternoon, anybody else who checks out or updates will get some, but not all, of the files necessary to compile the thing, which will ruin your friend's afternoon. -- ;; Gabe Johnson ;; PhD Candidate in Computational Design - Carnegie Mellon University ;; CoDe Lab: http://code.arc.cmu.edu/ ;; Personal: http://six11.org/ -- You received this message because you are subscribed to the Google Groups "Versions" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/versions?hl=en.
