Re: [PATCH 0/3] Implement git-svn: info
- From
- Eric Wong <normalperson@yhbt.net>
- Date
- Nov 21, 2007, 09:20 UTC
- Message-ID
- <20071121092028.GC23266@soma>
- In-Reply-To
- <20071121091809.GB23266@soma>
Eric Wong <normalperson@yhbt.net> wrote:
Show 24 quoted lines
> "David D. Kilzer" <ddkilzer@kilzer.net> wrote: > > "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'.
Wait, the paths/URLs will still be inconsistent, but author will at least be correct...
Sorry, I need sleep :/
-- Eric Wong