[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Trouble with svndumpfilter and svnadmin load

From: Felix Collins <felix_at_keyghost.com>
Date: 2004-07-01 00:43:07 CEST

Falk, Timo wrote:

>
>>-----Original Message-----
>>From: Felix Collins [mailto:felix@keyghost.com]
>
>>The error message from svnadmin is...
>>
>><<< Started new transaction, based on original revision 5
>> * adding path : trunk/tools ...svn: File not found: transaction
>>'5', path 'trunk/tools'
>>
>
> I bet the folder trunk does not exist. You have to add trunk first.
>
>
> I had the same problem. I had to change some 'change'-actions to 'add'
> and some other (like add some path....)
>

Yep, you were right. For some reason the commit that added that
directory is missing from the dump. I searched through the dump file
for other directory adds and found that some of the other directory adds
(for their parent dirs) are missing too. I manually added the
directories that seemed to be missing and those commits worked.

Does anyone have any idea why a directory add would be missing from the
dump file? Is this a bug in svnadmin or svndumpfilter?

Now I'm having another problem...

Any ideas on this one?

Thanks in advance.
Felix

svnadmin reports...

<<< Started new transaction, based on original revision 18
      * adding path : trunk/source/dsp/unittest ...svn: Dumpstream data
appears to be malformed

when it gets to ...

Revision-number: 18
Prop-content-length: 109
Content-length: 109

K 7
svn:log
V 0

K 10
svn:author
V 14
INTRANEL\felix
K 8
svn:date
V 27
2004-05-07T02:09:27.343750Z
PROPS-END

Node-path: trunk/source/dsp/unittest
Node-action: add
Node-kind: dir
Prop-content-length: 117
Content-length: 117

K 13
svn:externals
V 82
unitest/ http:/iserver/repos/keyghostusb/trunk/source/dsp/ghost/link.cmd

PROPS-END

Node-path: trunk/source/dsp/unittest/Makefile
Text-content-md5: 7d4fbe9d0581bc326e75025b2f576a40
Node-action: add
Node-kind: file
Text-content-length: 563
Content-length: 563

#
# unittest makefile
#

LINKER_CMD=link.cmd

OBJS = rtctest.obj\
                                usb_device.obj\
                                descriptors.obj

all: rtctest.bin

rtctest.bin: Makefile $(LINKER_CMD) $(OBJS)
        -@echo -g -ml -pl -q -z -c -o"rtctest.out" -x > main.compile
        -@echo $(OBJS) >> main.compile
        -@echo $(CGTOOLS_LIBRARY) >> main.compile
        -@echo $(CSL_LIBRARY) >> main.compile
        -@echo $(KG_LIBRARY) >> main.compile
        -@echo $(LINKER_CMD) >> main.compile
        $(TI_BIN)/cl55 -@main.compile
        -@rm -f main.compile
        $(TI_BIN)/hex55 serial8bin.cmd
# -@rm -f main.out

include $(WORKING_DIR)/Rules.make

Node-path: trunk/source/dsp/unittest/rtctest.c
Text-content-md5: 90c5a8162d68bb85d0e66bee4f936e0b
Node-action: add
Node-kind: file
Text-content-length: 1743
Content-length: 1743

#include <std.h>
#include <csl.h>
#include <csl_pll.h>
#include <csl_mmc.h>
//#include <csl_pwr.h>

#include "usb_device.h"
#include "printu.h"
#include "kgrtc.h"

void main(void)
{
        RTC_Time time;
        RTC_Date date;
        RTC_Time lasttime;

   CSL_init();
// IRQ_setVecs(0x10000);
   _PLL_CLKMD_CFG(0,
                 1, // break bit initialization
                 0, // always 0
                 25, // 12MHz crystal
                 0, // divide by 1
                 1, // enable pll
                 0); // bypass division

   //usb_config();
   //IRQ_globalEnable();

   //while (!dbg_is_safe());
/* printu("RTC Module - Unit test program\n");
        printu("Program sets date and time to Tuesday 27 November 2004 1234
56s\n");
        printu("Time and date are repeatedly read and every second printed out\n");
        printu("Sunday is day of the week 1\n");
        */
        time.hour = 12;
        time.minute = 34;
        time.second = 56;
        
        date.dayw = 2;
        date.daym = 27;
        date.month = 11;
        date.year = 04;

        KG_RTC_set_time(&time);
        KG_RTC_set_date(&date);
        
        for(;;)
        {
                
                KG_RTC_get_time(&lasttime);
                
                do
                {
                        KG_RTC_get_date(&date);
                        KG_RTC_get_time(&time);
                }
                while (time.second == lasttime.second);
                
/* printu("Day of the week = %x, Date:%x/%x/%x Time:%x:%x:%x\n",
                        date.dayw,
                        date.daym,
                        date.month,
                        date.year,
                        time.hour,
                        time.minute,
                        time.second);
                
           printu("Day of the week = %d, Date:%d/%d/%d Time:%d:%d:%d\n",
                        RTC_bcdToDec(date.dayw),
                        RTC_bcdToDec(date.daym),
                        RTC_bcdToDec(date.month),
                        RTC_bcdToDec(date.year),
                        RTC_bcdToDec(time.hour),
                        RTC_bcdToDec(time.minute),
                        RTC_bcdToDec(time.second));
        */

        }
        
}

Node-path: trunk/source/dsp/unittest/serial8bin.cmd
Text-content-md5: f5c1c485398c7de231f486ead0034b95
Node-action: add
Node-kind: file
Text-content-length: 72
Content-length: 72

rtctest.out
-boot
-v5510:2
-serial8

-b
-o rtctest.bin
-map rtctest.bxp

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 1 00:45:42 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.