Mercurial > noffle
comparison src/fetch.c @ 184:9854ea5f295f noffle
[svn] fetching was aborting if one group was invalid (for example, was renamed).
Modified so that error is printed and group is ignored.
author | mnalis |
---|---|
date | Tue, 19 Jun 2001 11:23:43 +0100 |
parents | 09ca6eb5c7ff |
children | fed1334d766b |
comparison
equal
deleted
inserted
replaced
183:c912e8288164 | 184:9854ea5f295f |
---|---|
1 /* | 1 /* |
2 fetch.c | 2 fetch.c |
3 | 3 |
4 $Id: fetch.c 279 2001-05-09 11:33:43Z bears $ | 4 $Id: fetch.c 297 2001-06-19 10:23:43Z mnalis $ |
5 */ | 5 */ |
6 | 6 |
7 #if HAVE_CONFIG_H | 7 #if HAVE_CONFIG_H |
8 #include <config.h> | 8 #include <config.h> |
9 #endif | 9 #endif |
86 if ( ! Client_changeToGrp( name ) ) | 86 if ( ! Client_changeToGrp( name ) ) |
87 { | 87 { |
88 Log_err( "Could not change to group %s", name ); | 88 Log_err( "Could not change to group %s", name ); |
89 if ( Lock_gotLock() ) | 89 if ( Lock_gotLock() ) |
90 Lock_closeDatabases(); | 90 Lock_closeDatabases(); |
91 return FALSE; | 91 return TRUE; |
92 } | 92 } |
93 Client_rmtFirstLast( &first, &last ); | 93 Client_rmtFirstLast( &first, &last ); |
94 Cont_read( name ); | 94 Cont_read( name ); |
95 next = Grp_rmtNext( name ); | 95 next = Grp_rmtNext( name ); |
96 if ( next == GRP_RMT_NEXT_NOT_SUBSCRIBED ) | 96 if ( next == GRP_RMT_NEXT_NOT_SUBSCRIBED ) |