Re: svn-fe status
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Sep 25, 2010, 10:25 UTC
- Message-ID
- <AANLkTi=sij9TeY+Cv85n61xt3R6nPbkpOyKdoDMzbtaD@mail.gmail.com>
- In-Reply-To
- <20100925051926.GA19804@burratino>
Heya,
On Sat, Sep 25, 2010 at 07:19, Jonathan Nieder <jrnieder@gmail.com> wrote:
> Now the features that would be most useful from fast-import become a > bit clearer. Since a single svn revision can make multiple changes to > a file, the ability to read back the currently staged content for the > current revision would be helpful, like this:
Yes, that makes sense.
> from refs/remotes/origin/root^0 > M 100644 :72:"trunk/README" "branches/topic/README"
Shouldn't that be 'C' for copy? Of course, this should also be guarded by a feature.
> 1. use ':<mark>:<path>' references to retrieve data from a > previous revision
I like this a lot better than the previous "catting the contents of a commit to find the tree to find the file hash to cat the file contents". I don't think there needs to be a colon after the mark though, I'd prefer reserving the colon character for marks and instead introduce a copy operation.
> 2. use 'cat <path>' references to retrieve data from the > current revision.
You'll thank yourself later if you add an (optional?) mark to cat, so that you can cat previous versions of a file too? Doesn't svn ever give you a diff against -. ... never mind! You don't need that, since you can just copy the contents you want over first! Ok, great, that works :).
> David's and Ram's discussions and patches from the last two weeks (or > at least the part I have understood) have been very helpful.
Keep up the great work!
-- Cheers, Sverre Rabbelier