Re: Feedback outside of the user survey
- From
- Christian Jaeger <christian@jaeger.mine.nu>
- Date
- Oct 20, 2008, 14:43 UTC
- Message-ID
- <48FC9927.5030903@jaeger.mine.nu>
- In-Reply-To
- <48FC55F9.3060509@op5.se>
Andreas Ericsson wrote:
Show 9 quoted lines
> Christian Jaeger wrote: >> If you really wanted, I suppose you could additionally look into >> implementing a kind of shallow cloning that only copies objects over >> the wire which are necessary for representing the subdirectory you're >> interested in. >> > > So what do you do when one such commit also affects something outside > the subdirectory?
You haven't said what you mean with "affect".
Since the point is that you do not want to see any effect to be made nor described if it is about something outside the subdirectory, the program would just not look at those?
Did you mean, new commits to be made from changed subdirectory contents? The stuff outside the subdirectory would just be kept the same and thus again doesn't need to be present locally.
Did you mean merging branches where one or more of the branches have changes outside the working directory? As long as the changes from the branches don't touch any of the same files (outside the subworkingdirectory), there's no need to fetch the files' contents, the program is only interested in the changes in the directory listings (thus directory objects). Now if there *are* changes to the same files (and outside the subworkingdirectory), the program would certainly need to fetch those contents, too, to be able to create the new contents. Would it require a place in the working directory? Yes if there are conflicts which need to be resolved manually, since it needs a place to put the conflicts to ask the user to resolve. So I guess it boils down to SVN having a different notion of what a merge entails?
Christian.