Summary: | downloads trunk tarball even if module-base-path points to another branch/tag! | ||
---|---|---|---|
Product: | [Developer tools] kdesrc-build | Reporter: | David Faure <faure> |
Component: | general | Assignee: | Michael Pyne <mpyne> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
David Faure
2008-10-03 21:53:14 UTC
This is fixed as of revision 867626. One note though: you probably want to use the tag option which should work in this case: module kdesupport tag kdesupport-for-4.1 ... end module The tag option is essentially "module-base-path tags/$foo" but it is different for some modules which don't conform to the standard tagging structure. Thanks.
Answering the k-c-d followup on this issue:
> This shouldn't be an error-causing issue as kdesvn-build should still svn
> switch correctly to tags/kdesupport-for-4.1 but it may cause the download to
> take longer as the delta between kdesupport trunk and the 4.1 tag gets bigger.
I beg to diff; kdesvn-build doesn't switch checkouts automatically, it only warns about the URL not being the expected one. IIRC only --svn-only does the switching. So this is error-causing, if it is being run unattended.
> > This shouldn't be an error-causing issue as kdesvn-build should still svn > > switch correctly to tags/kdesupport-for-4.1 but it may cause the download to > > take longer as the delta between kdesupport trunk and the 4.1 tag gets bigger. > I beg to diff; kdesvn-build doesn't switch checkouts automatically, it only > warns about the URL not being the expected one. IIRC only --svn-only does the > switching. So this is error-causing, if it is being run unattended. Well IIRC the idea of the snapshot download was that it would automatically svn switch immediately after the download to ensure that the svn-server setting was being respected (since checkouts are always from anonsvn). However I don't remember that the switch would cause a change from trunk to a branch (i.e. if only --relocate were used) so it's possible it would still error out. I don't have the time to test it out though, I assume you have proven theory-to-practice that it does error out and that's why you're telling me this. ;) Right, it didn't work, I ended up with a trunk checkout (otherwise I wouldn't have noticed the problem). I think you would have to switch --relocate from anonsvn to svn, and _then_ to switch again, from trunk to branch. AFAIK this can't be done with the same operation. Thanks for the fast fixing, in any case! |