Re: [PATCH 0/3] Implement git-svn: info
- From
David D. Kilzer <ddkilzer@kilzer.net>
- Date
- Nov 21, 2007, 06:59 UTC
- Message-ID
- <220901.13065.qm@web52408.mail.re2.yahoo.com>
- In-Reply-To
- <1195627399-25209-1-git-send-email-ddkilzer@kilzer.net>
"David D. Kilzer" <ddkilzer@kilzer.net> wrote:
Show 7 quoted lines
> 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?
Dave