set-depth=exclude -> "Updated ... to r140394767667765"

2012-09-03 Thread Ben Smith-Mannschott
* smithma@oberon ~/w/_backlogs/Entwicklung
  svn up --set-depth=exclude _ERLEDIGT _OBSOLET
D_ERLEDIGT
D_OBSOLET
Summary of updates:
  Updated '_ERLEDIGT' to r140394767667765.
  Updated '_OBSOLET' to r140394767667765.

I suppose this is just Subversion's way of saying that in the distant
future -- when the sun has swallowed the earth -- my repository will
be effectively empty since it will no longer exist.

I suppose this is a minor bug, but I find it amusing. Can we promote
it to "feature"? ;-)

// Ben


Re: FeatureRequest: Improved svn:externals handling on Merge

2012-09-03 Thread rupert.thurner

On Tuesday, July 31, 2012 4:07:17 PM UTC+2, Stefan Sperling wrote:
>
> On Mon, Jul 30, 2012 at 10:13:37AM +0100, Marcel Hesselbarth wrote: 
> > Hi Developers, 
> > 
> > I'm redirected here from the tortoise mailing list, as they think this 
> > feature belongs to the area of the svn library. Performing some 
> > searches shows that I'm not the only one with this problem, even it it 
> > seems to be never posted here. 
> > 
> > The basic problem I have is I have a Project with svn:externals 
> > defined pointing into the same SVN. When I now make a tortoiseSVN 
> > commit the files changed inside the svn:externals folders are included 
> > - so all works great. 
> > 
> > If I now try to merge these commit into a other checkout the changes 
> > inside the svn:externals are not merged, they are silently ignored. I 
> > need to do a separate merge at the svn:externals folders. Doing so 
> > works fine, but why having to do this manually? As externals are 
> > silently included into commits it is easily overseen that a commit 
> > includes externals at merging. So if these externals are not merged or 
> > at least warned while merging they will be overseen -> an great source 
> > for new bugs... 
> > 
> > The merge of svn:externals is not done automatically independent of if 
> > the folder at the merge target is an linked svn:externals folder or a 
> > real folder. 
> > 
> > 
> > 
> > Now a detailed example for better visualisation: 
> > I have the following svn structure: 
> > svn://svn/test/main/trunc 
> >   svn:external Propery: svn://svn/test/sub/trunc sub 
> >   File: Mainfile.txt 
> > svn://svn/test/sub/trunc Project 
> >   File: Subfile.txt 
> > 
> > Now I make a branch and set the svn:external Propery: 
> > svn://svn/test/main/branch1 
> >   svn:external Propery: svn://svn/test/sub/branch1 sub 
> >   File: Mainfile.txt 
> > svn://svn/test/sub/branch1 Project 
> >   File: Subfile.txt 
> > 
> > 
> > On a Checkout of main Project this will result in the following file 
> structures: 
> >   mainTrunc 
> >   | Mainfile.txt 
> >   | sub 
> >   | | Subfile.txt 
> >   mainBranch 
> >   | Mainfile.txt 
> >   | sub 
> >   | | Subfile.txt 
> > 
> > 
> > If I make changes at Mainfile.txt and Subfile.txt at main in one 
> > commit with version 123. To merge these changes to the branch I have 
> > to do the following: 
> > 1. Go to mainBranch folder an merge svn://svn/test/main/trunc version 
> 123 
> > 2. Go to mainBranch/sub folder and merge svn://svn/test/sub/trunc 
> version 123 
> > All information required for the 2. merge of the externals folder is 
> > already known by the tortoise client. It knows there are files at the 
> > svn://svn/test/sub/trunc folder included at these commit and it knows 
> > these files are loyally stored at mainBranch/sub folder. 
> > 
> > 
> > 
> > With best regards, 
> >   Marcel Hesselbarth 
> > 
>
> This is a known and documented issue with externals. 
>
> The Subversion book says this on the topic: 
>  
> Perhaps most disappointingly, the working copies created via the externals 
> definition support are still disconnected from the primary working copy 
> (on 
> whose versioned directories the svn:externals property was actually set). 
> And 
> Subversion still truly operates only on nondisjoint working copies. So, 
> for 
> example, if you want to commit changes that you've made in one or more of 
> those 
> external working copies, you must run svn commit explicitly on those 
> working 
> copies—committing on the primary working copy will not recurse into any 
> external ones. 
> http://svnbook.red-bean.com/en/1.7/svn.advanced.externals.html 
>  
>
> There are reasons for not committing from externals by default. 
> For example, you might not have commit privileges for the repository 
> an externals is pointing at. If Subversion tried to commit to that 
> repository every time you make a commit that would be rather annoying. 
>
> That said, we're trying to lift some of these limitations with externals. 
> In particular, there will be a new --include-externals option for 'svn 
> commit' in Subversion 1.8. This option causes recursive commit from the 
> parent working copy as well as all externals within the working copy. 
>
> It might be possible to add this option to 'svn merge' as well, to address 
> your particular use case. You'd have to run a merge with 
> --include-externals 
> to tell Subversion "please consider the externals in my working copy 
> as part of the merge target". I think this is a valid feature request 
> and if you like you can open a new ENHANCEMENT issue (see 
> http://subversion.apache.org/reporting-issues.html for more information) 
> and name me as your bug buddy. 
>
> However it is probably not as trivial to implement as it sounds. 
> I would guess that this task would make a nice google summer of code 
> project, i.e. somebody with little or no prior experience with 
> Subversion's 
> code base would probably need about 3 months to get this featur

Re: set-depth=exclude -> "Updated ... to r140394767667765"

2012-09-03 Thread Stefan Sperling
On Mon, Sep 03, 2012 at 10:03:16AM +0200, Ben Smith-Mannschott wrote:
> * smithma@oberon ~/w/_backlogs/Entwicklung
>   svn up --set-depth=exclude _ERLEDIGT _OBSOLET
> D_ERLEDIGT
> D_OBSOLET
> Summary of updates:
>   Updated '_ERLEDIGT' to r140394767667765.
>   Updated '_OBSOLET' to r140394767667765.
> 
> I suppose this is just Subversion's way of saying that in the distant
> future -- when the sun has swallowed the earth -- my repository will
> be effectively empty since it will no longer exist.
> 

Seems like my repository will have a couple less millennia to live
than yours :(

  Updated 'epsilon' to r140187732435016.
  Updated 'gamma' to r140187732435016.

> I suppose this is a minor bug, but I find it amusing. Can we promote
> it to "feature"? ;-)

Definitely a feature, not a bug ;)


Re: FeatureRequest: Improved svn:externals handling on Merge

2012-09-03 Thread Stefan Sperling
[snipped discussion about --include-externals]

On Mon, Sep 03, 2012 at 01:13:28AM -0700, rupert.thurner wrote:
> would it be possible to have such an option on "svn ls" as well? to my 
> surprise it also silently ignores svn:externals, while e.g. svn co or svn 
> up does not.

In principle, yes. Can you please file an ENHANCEMENT issue? Thanks!


Re: FeatureRequest: Improved svn:externals handling on Merge

2012-09-03 Thread Stefan Sperling
On Mon, Sep 03, 2012 at 11:31:17AM +0200, Stefan Sperling wrote:
> [snipped discussion about --include-externals]
> 
> On Mon, Sep 03, 2012 at 01:13:28AM -0700, rupert.thurner wrote:
> > would it be possible to have such an option on "svn ls" as well? to my 
> > surprise it also silently ignores svn:externals, while e.g. svn co or svn 
> > up does not.
> 
> In principle, yes. Can you please file an ENHANCEMENT issue? Thanks!

Oh, somebody's already done it:
http://subversion.tigris.org/issues/show_bug.cgi?id=4225


Re: need a good vss to svn migration tool

2012-09-03 Thread Phil Pinkerton
VSS2SVN  is about 60% accurate leaves lots of orphaned files ( in my experience 
migrating over 200 VSS databases to Subversion)

The process I used was 

1) Create the Subversion Repository that will replace the VSS database
2) Create a subversion working copy ( I had a NAS available with lots of space 
300GB)
3) Run VSS analyze on the VSS database to be migrated 
4) Do  a VSS get Latest (Use the SVN working copy as the VSS working directory)
5) Remove all *.scc files from the working copy( I created a script to do the 
cleanup)
6) Do svn add for all the project directories/files in the working copy you 
want to migrate
7) Do a commit to put in Subversion

The upside it is fast
The downside is you lose metadata, and you have the same file structure as with 
VSS (many had modified the Repository later to have branches,tags,trunk)

What I did was zip and archive the VSS data so it could be accessed later if 
needed for history or other metadata.

Results after a small Subversion learning curve was the VSS archives were never 
accessed again.

just my 2 cents

phil

On Sep 3, 2012, at 2:53 AM, "Cooke, Mark"  wrote:

>> -Original Message-
>> From: Bhushan Jogi [mailto:bhushanjogi.2...@gmail.com] 
>> Sent: 02 September 2012 16:07
>> To: nsnc...@yahoo.co.in; users@subversion.apache.org; Cooke, Mark
>> Subject: need a good vss to svn migration tool
>> 
>> Hi,
>> 
>> I need to migrate from VSS 6.0d to SVN 1.7.5, I tried few 
>> tools VSS2SVN(gives some error),svn importer(again some 
>> issues not working), I also tried 
>> http://code.google.com/p/vss2svn/downloads/detail?name=vss2svn
>> -0.11.0.zip nothing happens after launching the .exe file, 
>> could you please let me know a food tool which can migrate 
>> all labels, tags, version history properly.
>> 
>> Thanks & regards,
>> Bhushan 
> 
> We used vss2svn.  I did have some teething trouble getting it to work but 
> searching their mailing list and trying different things worked out OK in the 
> end.  As I mentioned recently, I do not think I used the "latest" version but 
> it is three years ago now so my memory's not fresh.  Also, I did use 
> dumpfilter quite a lot but that was after vss2svn had made the dump file.
> 
> ~ mark c
> 
> P.S. I believe that the author does still answer the odd question on the 
> vss2svn mailing list...