Hide Those .rbuistate Files in Subversion

· Oct 19, 01:03 PM

The REALbasic version control format includes hidden files with suffix .rbuistate. Probably you don’t want to put these files under version control, and so you don’t want to see them in the output of svn status. You can tell Subversion to ignore these files and others.

If you’re using Subversion in Mac OS X or Linux, configuration information is stored in ~/.subversion. In there is a file config that contains various settings. The one you’re interested in is

#global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store

This is a space-delimited list of globs that describes files to ignore. To it, add the glob *.rbuistate to this line, and remove the comment marker #. The result should look something like the following.

global-ignores = *.rbuistate *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store

The next time you run svn status, or refresh in svnX, you won’t see the .rbuistate files.

Not using version control? You should. Subversion is not too difficult to set up, and Dave Addey has written a how-to that I found very useful when setting up Subversion. Also indispensable is Version Control with Subversion, the online version of the O’Reilly book.

---

Comment

  1. That’s the reason we designed the feature that way — UI state and other per-user settings (like breakpoints) need to be in a file that can be excluded from version control. The old RB PMS solution was horrible about that. User A would check in a project, and User B would suddenly get some new breakpoints! Bleh. ;-)

    Aaron Ballman · Oct 20, 04:22 PM · #

Textile Help