From: Sam Vilain <sam@vilain.net>
To: Eric Wong <normalperson@yhbt.net>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: Tracking and committing back to Subversion?
Date: Tue, 07 Feb 2006 12:12:25 +1300 [thread overview]
Message-ID: <43E7D7D9.1000507@vilain.net> (raw)
In-Reply-To: <20060204054056.GB24314@Muzzle>
Eric Wong wrote:
>> 1. file properties - such as mime type, ignores and custom properties.
>> Linus, when I asked you about this in Dunedin, you mentioned that
>> there is a place at the end of the directory entry where this could
>> fit without breaking backwards compatibility. Perhaps this could
>> be an optional pointer to another directory node;
> Mostly ignore-able, imho. svn:executable is the one that makes the most
> sense (and is easiest) to support.
[...]
> svn:keywords: I don't think there's a way to disable this like there
> is with CVS, is there? keywords are evil imho.
> I don't use or know much about the other properties...
Right, but it is also possible to hang directory or file properties,
with any name, off any file or directory. It is often important to
at least preserve or be able to update these when dealing with some SVN
repositories, where people are using them for their own purpose.
Perhaps a "standard" mapping to dotfiles would be the best solution
then. A .svnprops file or something like that.
>> 2. "forensic" file movement history - as opposed to the uncached,
>> (and unversioned), automatic "analytical" file movement history.
>>
>> It would be easy for a tool to provide 100% interface compatibility
>> with SVN client/SVK using properties, but properties that hang off
>> the head rather than the file itself (so that they don't stuff up
>> the ability to merge identical trees reached via independent
>> paths). SVN calls these "revision properties". If a good
>> convention is adopted for this, it could be used as a nice way to
>> supplement git's automatic analysis of the revision history.
> Just parsing the output of diff-tree -C and marking them in SVN as
> copies/renames should be sufficient for letting SVN do its thing.
>
> Doing this kind of file movement history on the git side sounds like
> overkill to me. I was a _huge_ fan of logical file-identities in GNU
> Arch in the past, but the complexity destroyed it from both a UI and
> performance perspective.
Right now, tagging gets an exemption from this requirement, as does the
extra state required by tools like StGIT. I think this could be
generalised to support this kind of application; however we will see
whether this has any real effect or just operational side effect (eg, to
make sure renames are tracked correctly then commit before changing the
copied version, etc).
Sam.
next prev parent reply other threads:[~2006-02-06 23:13 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-01 22:51 Tracking and committing back to Subversion? Sam Vilain
2006-02-04 5:40 ` Eric Wong
2006-02-04 19:51 ` Seth Falcon
2006-02-06 23:12 ` Sam Vilain [this message]
2006-02-04 15:27 ` Brian Smith
2006-02-06 23:23 ` Sam Vilain
2006-02-10 0:50 ` Brian Smith
2006-02-10 0:54 ` Junio C Hamano
2006-02-10 1:06 ` Brian Smith
2006-02-10 4:27 ` Sam Vilain
2006-02-10 7:01 ` Brian Smith
2006-02-10 11:16 ` Sam Vilain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43E7D7D9.1000507@vilain.net \
--to=sam@vilain.net \
--cc=git@vger.kernel.org \
--cc=normalperson@yhbt.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).