You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Phyrefly <ph...@gmail.com> on 2007/02/16 14:53:16 UTC
Working copy vs exported files
Does anyone else have a use for a feature that allows you to convert a
working copy to a non-versioned version of the same files?
This is subtly different from an export of the repo, there may be
files (or even changes) in this set of files that I don't want to
commit.
I also don't want to force the network traffic of a re-export... I
already have the files, exactly where I want them, I just want to get
rid of the .svn folders.
I suppose the other part of this question is, is there a way to do
this that I've missed?
Richard.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Working copy vs exported files
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 16, 2007, at 08:53, Phyrefly wrote:
> Does anyone else have a use for a feature that allows you to convert a
> working copy to a non-versioned version of the same files?
>
> This is subtly different from an export of the repo, there may be
> files (or even changes) in this set of files that I don't want to
> commit.
>
> I also don't want to force the network traffic of a re-export... I
> already have the files, exactly where I want them, I just want to get
> rid of the .svn folders.
>
> I suppose the other part of this question is, is there a way to do
> this that I've missed?
1. You can export your working copy.
svn export /path/to/existing-working-copy /path/to/new-export
2. You can convert your working copy into an export by just deleting
all the .svn directories with something like this (on non-Windows OSes):
find /path/to/working-copy -name .svn -type d -print0 | xargs -0 rm -rf
Now /path/to/working-copy isn't a working copy anymore.
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Working copy vs exported files
Posted by Fabio Fullin <fu...@bitx.com.ar>.
You cannot get the revision of the export. You can from a working copy
What I do is to use the SubWCRev.exe command.
This command replace all tags it finds in a file.
Tags like
$WCREV$
$WCDATE$
$WCNOW$
$WCRANGE$
$WCURL$
----- Original Message -----
From: "Dave Grundgeiger" <da...@codenouveau.com>
To: "Phyrefly" <ph...@gmail.com>; "Subversion Users"
<us...@subversion.tigris.org>
Sent: Friday, February 16, 2007 12:44
Subject: Re: Working copy vs exported files
> Phyrefly wrote:
>> Does anyone else have a use for a feature that allows you to convert a
>> working copy to a non-versioned version of the same files?
>>
>> This is subtly different from an export of the repo, there may be
>> files (or even changes) in this set of files that I don't want to
>> commit.
>>
>> I also don't want to force the network traffic of a re-export... I
>> already have the files, exactly where I want them, I just want to get
>> rid of the .svn folders.
>>
>> I suppose the other part of this question is, is there a way to do
>> this that I've missed?
>
> I just now did a "svn help export", and it appears that there is a version
> of svn export that exports from your working copy, preserving local
> changes. However, it doesn't copy non-versioned files, according to the
> help.
>
> Dave
>
> Dave Grundgeiger
> CodeNouveau, LLC
> Develop .NET Software with Open-Source Tools
> http://www.codenouveau.com
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Working copy vs exported files
Posted by Dave Grundgeiger <da...@codenouveau.com>.
Phyrefly wrote:
> Does anyone else have a use for a feature that allows you to convert a
> working copy to a non-versioned version of the same files?
>
> This is subtly different from an export of the repo, there may be
> files (or even changes) in this set of files that I don't want to
> commit.
>
> I also don't want to force the network traffic of a re-export... I
> already have the files, exactly where I want them, I just want to get
> rid of the .svn folders.
>
> I suppose the other part of this question is, is there a way to do
> this that I've missed?
I just now did a "svn help export", and it appears that there is a version
of svn export that exports from your working copy, preserving local changes.
However, it doesn't copy non-versioned files, according to the help.
Dave
Dave Grundgeiger
CodeNouveau, LLC
Develop .NET Software with Open-Source Tools
http://www.codenouveau.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org