Show More
@@ -325,10 +325,26 b' Executable files:' | |||||
325 | $ cd .. |
|
325 | $ cd .. | |
326 | $ hg init repo3 |
|
326 | $ hg init repo3 | |
327 | $ cd repo3 |
|
327 | $ cd repo3 | |
|
328 | ||||
|
329 | #if execbit | |||
328 | $ echo > foo.py |
|
330 | $ echo > foo.py | |
329 | $ chmod +x foo.py |
|
331 | $ chmod +x foo.py | |
330 | $ hg add foo.py |
|
332 | $ hg add foo.py | |
331 | $ hg commit -mfoo |
|
333 | $ hg commit -mfoo | |
|
334 | #else | |||
|
335 | $ hg import -q --bypass - <<EOF | |||
|
336 | > # HG changeset patch | |||
|
337 | > foo | |||
|
338 | > | |||
|
339 | > diff --git a/foo.py b/foo.py | |||
|
340 | > new file mode 100755 | |||
|
341 | > --- /dev/null | |||
|
342 | > +++ b/foo.py | |||
|
343 | > @@ -0,0 +1,1 @@ | |||
|
344 | > + | |||
|
345 | > EOF | |||
|
346 | $ hg up -q | |||
|
347 | #endif | |||
332 |
|
348 | |||
333 | $ echo bla > foo.py |
|
349 | $ echo bla > foo.py | |
334 | $ hg absorb --dry-run --print-changes |
|
350 | $ hg absorb --dry-run --print-changes |
General Comments 0
You need to be logged in to leave comments.
Login now