[Buildbot-commits] [Buildbot] #97: Use svn switch to improve efficiency
Buildbot trac
trac at buildbot.net
Sat Aug 24 22:01:12 UTC 2013
#97: Use svn switch to improve efficiency
------------------------+-----------------------
Reporter: retracile | Owner:
Type: enhancement | Status: reopened
Priority: major | Milestone: 0.8.+
Version: 0.8.3 | Resolution:
Keywords: svn, sprint |
------------------------+-----------------------
Old description:
> The SVN operation uses svn update, and deletes its working copy if the
> branch changes. However, Subversion is able to move between branches
> much more efficiently using 'svn switch'.
>
> Attached is a lightly tested patch that uses 'svn switch'. It will
> always work for the 'copy' mode; other modes are less tested. An 'svn
> switch' of a working copy containing unversioned files can in some cases
> fail; that is not handled in this patch.
New description:
The SVN operation uses svn update, and deletes its working copy if the
branch changes. However, Subversion is able to move between branches much
more efficiently using 'svn switch'.
Attached is a lightly tested patch that uses 'svn switch'. It will always
work for the 'copy' mode; other modes are less tested. An 'svn switch' of
a working copy containing unversioned files can in some cases fail; that
is not handled in this patch.
--
Comment (by dustin):
Is the update failure because 'svn' returns a zero (successful) exit
status in that case?
Regarding oldsource - you're right. When I said "yes" I should have said
"no" :/
--
Ticket URL: <http://trac.buildbot.net/ticket/97#comment:11>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation
More information about the Commits
mailing list