Skip to content

Commit bb1f01c

Browse files
committed
CESAB 2025.
2 parents f1a6325 + 27536ef commit bb1f01c

File tree

9 files changed

+84
-73
lines changed

9 files changed

+84
-73
lines changed

clients.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def animate(self):
3838
rstudio,
3939
github,
4040
gitlab,
41+
codeberg,
4142
arrows,
4243
highlight,
4344
) = [m.off() for m in step.list]
@@ -54,6 +55,7 @@ def animate(self):
5455

5556
github.on()
5657
gitlab.on()
58+
codeberg.on()
5759
STEP()
5860

5961
arrows.on()

pizzas.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,13 @@ def animate(self) -> Tuple[Repo, FileTree, List[DiffedFile | Constant]]:
306306
STEP()
307307

308308
# Rewinding !
309-
command.on().text = r"git \gkw{checkout} 45a5b65"
309+
command.on().text = r"git \gkw{switch} -d 45a5b65"
310310
STEP()
311311

312312
repo.highlight("HEAD")
313313
STEP()
314314

315-
repo.checkout_detached("45a5b65")
315+
repo.switch_detached("45a5b65")
316316
STEP()
317317

318318
f_readme.mod = d_readme.mod = "m"
@@ -331,15 +331,15 @@ def animate(self) -> Tuple[Repo, FileTree, List[DiffedFile | Constant]]:
331331
repo.hi_off("HEAD")
332332
STEP()
333333

334-
command.on().text = r"git \gkw{checkout} d1e8c8c"
334+
command.on().text = r"git \gkw{switch} -d d1e8c8c"
335335
repo.highlight("HEAD")
336336
STEP()
337337

338338
files.pop(f_margherita)
339339
d_margherita.off()
340340
d_readme.clear()
341341
d_readme.insert_lines(readme_text[0])
342-
repo.checkout_detached("d1e8c8c")
342+
repo.switch_detached("d1e8c8c")
343343
STEP()
344344

345345
repo.hi_off("HEAD")
@@ -354,10 +354,10 @@ def animate(self) -> Tuple[Repo, FileTree, List[DiffedFile | Constant]]:
354354
repo.hi_off()
355355
STEP()
356356

357-
command.on().text = "git checkout 17514f2"
357+
command.on().text = "git switch -d 17514f2"
358358
STEP()
359359

360-
command.on().text = r"git checkout \ghi{main}"
360+
command.on().text = r"git switch \ghi{main}"
361361
repo.highlight("main")
362362
STEP()
363363

@@ -366,7 +366,7 @@ def animate(self) -> Tuple[Repo, FileTree, List[DiffedFile | Constant]]:
366366
d_margherita.on()
367367
d_regina.on().reset()
368368
d_readme.insert_lines(readme_text[1], 2)
369-
repo.checkout_branch("main")
369+
repo.switch_branch("main")
370370
STEP()
371371

372372
repo.hi_off("main")

0 commit comments

Comments
 (0)