[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion presentation at Silicon Valley Linux Users Group

From: Tripp Lilley <tlilley_at_perspex.com>
Date: 2001-04-06 22:15:07 CEST

On Fri, 6 Apr 2001, Greg Hudson wrote:

> * A developer wants to be able to work on big changes (big
> enough to require a branch with periodic checkins), and
> wants to be able to work offline.

+1

airplane + laptop

I have at times built a Perforce depot on my laptop just to handle this
case. Of course, it doesn't handle the "import" any better than CVS, which
is a real shame :|

For the record, I don't mind having my version history for that offline
work stored in a parallel branch and just resolved back into the mainline
at the appropriate point. But I -do- want all of that branch's history in
the same repository as the mainline, even if it's in a separate branch. No
tool, that I know of, does this now.

        # create the branch
        p4 branch framerd.dev.python.laptop
        //depot/code/framerd/dev/python => //depot/laptop/framerd/dev/python

        # "sync" the branch to my laptop's depot (note that this doesn't
        # exist, I'm faking it).
        p4 remotesync //depot/laptop/framerd/dev/python laptop:1666//depot/code/framerd/dev/python

        # populate it
        p4 integrate -b framerd.dev.python.laptop
        p4 submit

        # work offline
        # come back home

        # "sync" the branch (note that this doesn't exist, I'm faking it)
        p4 remotesync laptop:1666//depot/code/framerd/dev/python //depot/laptop/framerd/dev/python

        # integrate changes back into current work
        p4 integrate -b framerd.dev.python.laptop -r
        p4 resolve -as
        p4 submit

Of course, if all of that could be combined into a smaller set of
commands, that would be i-dee-ul.

-- 
   Joy-Loving * Tripp Lilley  *  http://stargate.eheart.sg505.net/~tlilley/
------------------------------------------------------------------------------
  "Fiber makes you poop." -- From <http://www.pvponline.com/bts_studio.php3>
Received on Sat Oct 21 14:36:28 2006

This is an archived mail posted to the Subversion Dev mailing list.