Your best friend for file transfer.

Fetch application logoFetch

fetch and subversion (6 posts)

  • Started 9 years ago by marcobat
  • Latest reply 8 years ago from Scott McGuire
  • marcobat Member

    I'm having this problem which I believe might be just a missing feature. I use subversion to keep track of code changes in my wesites, Subversion creates a .svn folder in every folder that it is keeping track of. I don't want to upload the .svn directory to the server but currently if i upload an entire directory the .svn directory also get uploaded. Unfortunately it appears that the preference "don't upload files begginning with a dot" only apply to, well, files, just as it says. Does anybody know of a way to automatically prevent the .svn directory from being uploaded?

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    You are correct - currently the "don't upload files beginning with a dot" option only applies to files. We will look into making it apply to folders as well in a future version of Fetch. Thanks for the suggestion.

    Unfortunately, currently there is no direct workaround. Fetch will ignore invisible folders inside folders when uploading, I don't know if there's an option in your Subversion client to make the .svn folders invisible as well as beginning with a dot. (I know that some Mac CVS clients have that option.)

    Sorry,

    Scott McGuire
    Fetch Softworks

    Posted 9 years ago #

  • marcobat Member

    Thanks for your reply.
    Maybe i'm getting out of topic here but the .svn foilders are invisibles from a finder prospective (i think all files and folders beginnng with a dot are) but i guess you are suggesting that there is the possibility to make a folder invisible in another way. If so can you point me in te right direction to find out more about it?
    thanks again.

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    Yes, that's true that .svn folders are already "invisble" from a Finder perspective. Putting a dot in front of a folder or file name is one way to make a file not visible in the Finder.

    However, there is also an attribute that can be set on files and folders that is called the "invisible" attribute. It's kind of like when you lock a file - the file has the locked attribute, but there's nothing in the filename to indicate that. It's the same with the "invisible" attribute. There is no way to set the "invisible" attrible directly in the Finder; it has to be done with the Terminal, programmatically, or using a third-party utility.

    When you use the "Find" command in the Finder (or Spotlight in 10.4), one of the criteria you can search for is "Visibility." That searches for files and folders that have the "invisible" flag set, or not.

    Programs that deal with files and folders, such as Fetch, often treat files what have dots in front of them differently from files that have the "invisible" flag set.

    I hope that clarifies what I was talking about - I couldn't find a good reference page summarizing the information.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 9 years ago #

  • marcobat Member

    I don't know if anyone else in this forum is interested but i found an article on macfixit where it is explained how to turn visibility on and of for files and folders: "http://www.macfixit.com/article.php?story=20040519001916749".

    Posted 9 years ago #

  • Scott McGuire Administrator

    Hi,

    If you're still interested, in the just-released Fetch 5.1b3 we have changed "do not upload dot files in folders" preference to apply to both files and folders (and we've changed its name to "do not upload dot items in folders").

    This should keep Fetch from uploading .svn directories.

    You can download Fetch 5.1b3 from here: http://fetchsoftworks.com/Fetch_5.1b3.dmg

    If you give it a try, please let us know if this does what you want.

    Thanks,

    Scott McGuire
    Fetch Softworks

    Posted 8 years ago #

Reply

  • Or nickname, if you prefer.
  • This will be kept confidential.
  • This is to ensure that you’re a person, not a spambot.