[sldev] New source snapshots - on SVN
Dzonatas
dzonatas at dzonux.net
Wed Mar 21 11:38:43 PDT 2007
Dale Glass wrote:
> ? ????????? ?? 21 ????? 2007 09:08 Dzonatas ???????(a):
>
>> Added to the repository:
>>
>
> How do you import these?
>
> Importing new source into SVN is easy (svn_load_dirs say). The problem
> is that this method misses renames unless you actually take care of
> that.
>
> And even then you will miss the case where file foo.c is in revision
> 1, deleted from revision 2, then restored back in revision 3. This
> leads to a particularly annoying problem:
>
This is why, as subversion exists now, that there is a pull-only portion
of the repository for "releases." Those links need to be confirmed
(mainly for source integrity) when files have gone through several
add/deletes. However as new branches roll-over, the problem disappears.
You see, the last snapshot of the previous branch is
created/copied/linked into the new trunk. The history of the file is
then now pointing to the previous branch instead of being newly committed.
This is also the reason is it best to work in a private repository that
you can destroy. Actually, no, that is the reason... so you can destroy
that one and not the "production" one.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20070321/ee8052bb/attachment.htm
More information about the SLDev
mailing list