[svk-users] help creating ftr branch from back revisions
William Quan
wiquan at employees.org
Fri May 30 14:26:49 EDT 2008
Hi,
After hours of head-scratching the problem was that my local mirror was
not a complete mirror of the external project tree, which is allowed,
but just stupid to do in practice.
It was the SVK online book that helped me figure this out:
http://svkbook.elixus.org/nightly/en/svk-book.html#svk.tour.initial
<<SNIP>>
Warning
When mirroring a project you will have the choice between mirroring just
trunk or the branch you are interested in as opposed to the entire
project. In most cases you will want to mirror the entire project tree
including the trunk, branches and tags directories. Since branches and
tags are cheap copies on the remote server the mirror will also store
them as cheap copies and thus not use significantly more disk space.
If you choose not to do this and mirror just a single branch or trunk,
and you later decide you need access to other branches or tags in the
remote repository, separately mirroring those will cause you local depot
to contain disjoint mirrors of the individual branches and tags, and
copies that were originally cheap copies in the remote repository will
become full blown copies in your local depot. In addition you might run
into problems with merge tracking across remote branches.
<<END>>
--will
William Quan wrote:
> Hi,
> What I want to do is create a local ftr branch from a local mirror
> branch. The twist is that I want my local ftr branch to be based on an
> older version of whats in the local mirror.
>
> I tried a couple of scenarios but ultimatly get an error saying project
> doesnt exist in both cases.
>
> # Scenario A
> # make ftr branch as a copy of whats LATEST
> # then back revision everything in new ftr Branch
> 1.
> sync local mirror
>
> 2.
> create local ftr branch from local mirror branch
> svk cp -p -m "new ftr branch" //project/localMirror //project/ftrBranch
>
> 3.
> svk co //project/ftrBranch
> (in working dir)
> svk update -r 2873 .
> Path //project/ftrBranch no longer exists.
>
> Not sure what this means as the project does exist. I was able to co and
> browse with viewvc.
>
>
> # Scenario B
> # checkout the local Mirror branch
> # back revision everything
> # then create a new ftr branch from working copy
>
> 1.
> svk co //project/localMirror
> cd localMirror
> 2.
> svk update -r 2873 .
> Path //project/localMirror no longer exists.
>
>
>
> Any thoughts as to what I am doing wrong here?
> I am new to svk.
> thanks,
> w
>
> This is svk, version v2.0.1 (using Subversion bindings 1.4.4)
>
> _______________________________________________
> svk-users mailing list
> svk-users at lists.bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-users
>
More information about the svk-users
mailing list