Questions tagged [svn-export]

Questions regarding SVN export operations.

In the context of the Apache SVN Version Control System, export is an operation that exports a clean directory tree.

20 questions
2544
votes
31 answers

Do a "git export" (like "svn export")?

I've been wondering whether there is a good "git export" solution that creates a copy of a tree without the .git repository directory. There are at least three methods I know of: git clone followed by removing the .git repository directory. git…
Greg Hewgill
  • 951,095
  • 183
  • 1,149
  • 1,285
28
votes
3 answers

Export vs. check out in SVN

What does exporting do in SVN? Are there any major differences between checking out a copy and export?
Andrei Vidaicu
  • 281
  • 1
  • 3
  • 3
8
votes
2 answers

Exporting an unversioned copy of a tag from Mercurial

I'm fairly comfortable with SVN, but have been looking at Mercurial for it's ability to perform offline commits. Something I haven't been able to figure out is how to do an unversioned export an old tagged rev. In SVN the tags would just live in a…
Nick T
  • 25,754
  • 12
  • 83
  • 121
4
votes
2 answers

svn subtree, update from one repo, commit to other

A have a big project in a SVN repository. I would like to use some modules of the project in other applications, so I thought about checkout them from my main SVN repository so I can keep my code updated. How can I "export" one folder / module of my…
brpaz
  • 3,618
  • 9
  • 48
  • 75
3
votes
0 answers

svn export (rabbit-svn) deleted local files

I executed svn export with rabbit-svn in a folder and it deleted all the folders which were present before . I don't understand this behavior.Can any one help me with that. And also is there any way the deleted folders back ? Thanks.
matang
  • 259
  • 2
  • 9
3
votes
2 answers

Automatically export contents of svn repository to another directory?

First, I would like to clarify a quick question I have, am I right in thinking that files in svn repo don't actually exist in the heirarchical structure you see when you check them out? I have tried to use svn export ~/svn/project1…
Matt
  • 9,068
  • 12
  • 64
  • 84
3
votes
4 answers

Git export exactly like SVN export

Is it possible to export only the files from a single revision from a remote Git repository? In Subversion, we can easily do this: svn export https://some.website.com/trunk/app/etc@5317 --username=user --password=pass --force -r 5317…
user439441
2
votes
3 answers

Svn full dump (moving servers)

How would I get a full copy of an SVN repository and import it on another server?
Andrei Serdeliuc ॐ
  • 5,828
  • 5
  • 39
  • 66
2
votes
3 answers

Understanding the output from svn export

Working on some tweaks for a build script, I noticed that the output from svn export has an 'A' in column 1 for each file exported. A C:\build\file1 A C:\build\file2 A C:\build\file3 The subversion book describes the meaning of the various…
ThatBlairGuy
  • 2,426
  • 1
  • 19
  • 33
1
vote
4 answers

Download latest version of a specific GIT branch + no local repository

I have a Bamboo CI system with multiple agents (i.e. distributed), each build gets assigned to the next available agent; Also note that multiple builds of different branches of the same repository might run concurrently on the same machine My build…
Guy Segev
  • 41
  • 5
1
vote
1 answer

Is it possible to export specific files from svn to an ssh/sftp server?

Instead of manually downloading files from SVN (via checkout) and then copying them to the sftp server via csp or an FTP GUI, is there an svn command that can export those files straight to an sftp server? For example: svn export…
Don Rhummy
  • 24,730
  • 42
  • 175
  • 330
1
vote
2 answers

SVN Export while retaining permissions

I have some files in my SVN repository that I would like to have execute permissions. When I check them into the repository with 755 permissions and run an svn export, the resulting files have 644 permissions. There doesn't appear to be an option…
Jonathan
  • 3,464
  • 9
  • 46
  • 54
1
vote
1 answer

svn exports work on command line but not in shell script

I have been working on a shell script that performs some deploy tasks by checking files out from svn and calling a Jar. I have been using a test SVN url without issues for the development. I now need to test Tag deployments and suddenly svn is…
a.hrdie
  • 716
  • 2
  • 14
  • 35
1
vote
2 answers

How to flag commited files in svn to be excluded from the export?

We have the problem that we have the open project files in our SVN like *.fla and *.psd. They are under Apache Subversion (i.e. in SVN repository) but we don't want them to be exported. We want a clean export without our open project files. Is…
Marc
  • 1,088
  • 8
  • 9
0
votes
1 answer

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…
cocomac
  • 518
  • 3
  • 9
  • 21
1
2