1 May 16:08
Re: xmtn-revision-get-file-revision vs write-file-hooks
Stephen Leake <stephen_leake <at> stephe-leake.org>
2007-05-01 14:08:50 GMT
2007-05-01 14:08:50 GMT
Christian Ohler <ohler+mtn <at> fastmail.net> writes: >> The purpose of xmtn-revision-get-file-revision seems to be (it doesn't >> have a doc string) > > The theory behind not having a docstring for this function is that it > only implements an interface specified in DVC-API; the only thing the > docstring might say is "xmtn's implementation of > `revision-get-file-revision'", but this is implicitly understood > anyway, since every function whose name has the prefix "xmtn-(Continue reading)dvc-" is > an implementation of the respective DVC API function. So there's > nothing to document. Only deviations from or extensions of the > generic contract should be documented. Ok, that makes sense. > In practice, however, the specification of this interface is missing > in DVC-API, and the function name prefix is just "xmtn-" instead of > "xmtn-dvc-", since DVC looks for the function under this wrong name > due to an apparent typo in the DVC core. These are bugs. Ok. I'll try to notice and fix them when I run across them. >> to get the contents of a particular file revision >> into a buffer, and also into a file. Sometimes that file is a temp >> file (as in the diff case), sometimes a user-requested file (when >> retrieving an old revision for other reasons). > > It always puts the file contents into a buffer, never into a file.
?)
> Mathieu> Hi,
>
> <snip/>
>
> Mathieu> I'm migrating some of my project to git, which seems
> Mathieu> to be a really cool version control system. I'll try
> Mathieu> to find some time to see what has to be done here.
>
> Just out of curiosity: AIUI, you migrated from GNU Arch to bzr,
> why are you migrating to git now ?
I have several reasons to migrate away from bzr:
1) Total absence of trust in Canonical. The way they did the baz ->
bzr transition is unacceptable. They actually abandonned Bazaar
1.x's developpment in Jully 2005, in October 2005, the were still
ignoring the bug reports, not working at all on it, but still
letting me wasting my time on it. I spent tens of hours following
the promise that Bazaar was still maintained. In February 2006,
RSS Feed