1

I'm using Versions & Beanstalk for svn. My app has some log files stored within a subfolder - how can I tell Versions to skip these when committing? I know it has something to do with svn:ignore, but surely there's a way to do this within the GUI?

1 Answer 1

4

There are two ways to do this within Versions:

  1. The easy way: While you browse your working copy, control+click on the file or folder and select “Ignore "filename.txt"”. You can find the same option under the “Action” menu. — To do this, a file can't already be under version control, so if it is, “Delete” it first...

  2. The more versatile way: Select the folder that the files/folders you want to ignore live in, and show the inspector (“Inspector” button in toolbar), click “Edit” under the “Ignore” box. In the sheet that opens up, enter file names, or patterns (the same kind of patterns as you'd use in the Terminal, not regular expressions or anything fancy) and hit OK.

e.g. to ignore all zip files and a directory named “build”, enter this in the Ignore properties of the folder directly above them:

*.zip
build

Finally, there's also such a thing as global ignores (that are used for all of your working copies), but Versions doesn't have a UI to configure those right now, search for “global-ignores” on this (humongous) page for more about that topic.

Cheers, Dirk

PS: Check out the Versions google group, and for support questions you can always get in touch with us as well (I'm one of the developers).

3
  • That's brilliant, thank you. I think my confusion was because the folder had been imported into the original svn set, so as you said I couldn't ignore it without first removing it. Versions is ace, keep up the good work!
    – adam
    Oct 14, 2010 at 8:38
  • Thanks for the nice words about the app Adam, clearly there's still room for it to become better :)
    – Dirk Stoop
    Oct 15, 2010 at 9:58
  • Thanks Dirk. I often hit a related issue whereby a file is in the repository and I want to tweak it for local use but not commit changes, a settings file with local DB passwords for example. Is there a way to ignore the changes to that file? Using method 1 gives the error "The item can't be ignored because it is under version control. Delete it first, then try again." and using method 2 does nothing (the file is still marked as edited and is committed by default). Is there a way to ignore edited files in Versions?
    – Andrew
    Aug 28, 2013 at 23:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .