Search code examples
svnoutputverboseverbositysvn-export

How to make 'svn export' less verbose?


I'm cloning just the files of a Git repo (so without history or the .git folder) using svn export https://github.com/user/repo/trunk as per this wonderful answer. Sadly, Git archive is disabled on GitHub, which is why I didn't use that.

However, svn archive prints every single file in the repo out when it does this, which is rather annoying given that my repo isn't small. How can I make svn export only print something if there is a problem, as opposed to for every file in the repo?


Solution

  • Turns out there is a --quiet argument. For example this won't print anything.

    $ svn export --quiet https://github.com/user/repo/trunk
    

    If anyone is wondering, I figured this out my doing:

    $ svn help
    

    I didn't read that at first because I mostly use Git, and the manpage seemed to be unhelpful, which is where I'd usually look..