git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn: expand svn:keywords, or how else to deal with them?

From
MKmartin f krafft <madduck@madduck.net>
Date
May 11, 2008, 10:39 UTC
Message-ID
<20080511103951.GA30508@lapse.madduck.net>
In-Reply-To
<20080511084558.GC23929@untitled>
also sprach Eric Wong <normalperson@yhbt.net> [2008.05.11.0945 +0100]:
> I'm mainly uncomfortable with how it'll interact with dcommit
> usage, but since your use case seems to be fetch-only; you may
> just disable dcommit if keyword expansion is enabled if it's too
> painful to figure out the unexpansion...

Unfortunately, it's not fetch-only, I have commit rights upstream and I use them quite often.

I understand your reasoning and am not too keen on implementing this hack either. However, the other ways of dealing with it are horrific. Right now, for each release, I have to do:

  git checkout -b build-$VERSION
  # undo all changes, basically get pristine upstream
  zcat ../mypkg_1.0-1.diff.gz | git apply -R
  # reapply all my Debian changes
  git diff upstream debian | git apply
  git commit ...

this gets unmanageable when I am using more than just the debian branch, but also feature branches, e.g. debian/fhs-compatibility etc...

You wouldn't happen to have a better idea of how to deal with this? :)

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
don't hate yourself in the morning -- sleep till noon.
 
spamtraps: madduck.bogus@madduck.net
Previous: Eric Wong
Message 3 of 3 in “git-svn: expand svn:keywords, or how else to deal with them?”
  1. martin f krafftMay 9, 2008
  2. Eric WongMay 11, 2008
  3. martin f krafftMay 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.