Re: [GSoC] Query regarding Microproject
- From
Shanthanu <shanthanu.s.rai9@gmail.com>
- Date
- Mar 20, 2020, 16:27 UTC
- Message-ID
- <47a1db25-914a-2e59-c0a6-6d0ff77bc2aa@gmail.com>
- In-Reply-To
- <CAP8UFD2bgzvc2K2Sj4HSeXo16kB8D8se=+=Y7gp6FN+4Y3C1BQ@mail.gmail.com>
Hey, I had faced some issues while running tests with the below command: sh t9116-git-svn-log.sh
I ran the test without making any changes to the file.
To get more verbose output for the reason of failure, I ran: sh t9116-git-svn-log.sh -v -i -d (-i to figure out why the first test fails)
In the verbose output, I got the below error msg:
Couldn't open a repository: Unable to connect to a repository at URL 'file:///{hidden}/git/t/trash%20directory.t9116-git-svn-log/svnrepo': Unable to open an ra_local session to URL: Unable to open repository 'file:///{hidden}/git/t/trash%20directory.t9116-git-svn-log/svnrepo': Expected FS format between '1' and '6'; found format '7' at {hidden}/git/perl/build/lib/Git/SVN.pm line 310.
I can share the entire verbose output if needed.
On 20/03/20 7:11 pm, Christian Couder wrote:
Show 19 quoted lines
> Hi, > > On Fri, Mar 20, 2020 at 7:39 AM Shanthanu Rai > <shanthanu.s.rai9@gmail.com> wrote: >> Hi, I am a 3rd Computer Science Undergrad at National Institute of >> Technology Surathkal, India. I wish to apply to git for GSoC. >> >> I am currently working on the microproject titled "Avoid pipes in git >> related commands in test scripts". I found 't/t9116-git-svn-log.sh' to >> have some commands wherein output of git is redirected to grep (using >> pipe). So shall I go ahead and make the required changes, i.e., redirect >> the output of git to a file and grep this file, in the relevant commands? > Yeah, sure. > > In 't/t9116-git-svn-log.sh' it seems to me that some refactoring might > be needed too. > > Best, > Christian.