##// END OF EJS Templates
chg: just forward --time to command server...
Yuya Nishihara -
r34532:50788d1a default
parent child Browse files
Show More
@@ -369,7 +369,6 b' static int isunsupported(int argc, const'
369 369 SERVE = 1,
370 370 DAEMON = 2,
371 371 SERVEDAEMON = SERVE | DAEMON,
372 TIME = 4,
373 372 };
374 373 unsigned int state = 0;
375 374 int i;
@@ -381,11 +380,8 b' static int isunsupported(int argc, const'
381 380 else if (strcmp("-d", argv[i]) == 0 ||
382 381 strcmp("--daemon", argv[i]) == 0)
383 382 state |= DAEMON;
384 else if (strcmp("--time", argv[i]) == 0)
385 state |= TIME;
386 383 }
387 return (state & TIME) == TIME ||
388 (state & SERVEDAEMON) == SERVEDAEMON;
384 return (state & SERVEDAEMON) == SERVEDAEMON;
389 385 }
390 386
391 387 static void execoriginalhg(const char *argv[])
General Comments 0
You need to be logged in to leave comments. Login now