Re: [PATCH 0/3] Implement git-svn: info
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Nov 21, 2007, 09:18 UTC
- Message-ID
- <20071121091809.GB23266@soma>
- In-Reply-To
- <220901.13065.qm@web52408.mail.re2.yahoo.com>
"David D. Kilzer" <ddkilzer@kilzer.net> wrote:
Show 18 quoted lines
> "David D. Kilzer" <ddkilzer@kilzer.net> wrote: > > Eric Wong <normalperson@yhbt.net> wrote: > > > Can we expect the output of "svn info" to not change between > > > versions? I know "svn status" has changed between versions of > > > svn. I'd prefer if we keep the expected.* files hard-coded > > > in a test directory and compare those instead. Maybe use sed > > > to substitute placeholders for timestamps.. > > Done. > > Grrr. I remember the reason I didn't do this in the first place. In Patch > 2/3, there are now hard-coded directory paths and my username in the static > expected-* files. > > That means that either I need to replace the "URL:", "Repository Root:" and > "Last Changed Author:" fields with place-holders (weakening the effectiveness > of the tests), or switch back to more dynamic tests. > > Thoughts?
Ah, good point.
On some of my tests (t9110, t9111, t9115), I get around this by generating a repository once and dumping it using `svnadmin dump'.
-- Eric Wong