Ren'Py Translator ToolKit  Check-in [c85c8b9576]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add git export script
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:c85c8b9576f865ccfaee70f6c478ad43c63184dd82b9cafe6e906799351d783f
User & Date: Beuc 2019-05-24 07:39:22
Context
2019-05-24
08:09
Move auxiliary code in a package and tidy naming check-in: a919022399 user: Beuc tags: trunk
07:39
Add git export script check-in: c85c8b9576 user: Beuc tags: trunk
07:39
Add license check-in: 2cb43a5538 user: Beuc tags: trunk
Changes

Added git-export.sh.





















































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash -e

# Export Fossil repository so it can be pushed to GitLab/GitHub

# Copyright (C) 2019  Sylvain Beucler

# Copying and distribution of this file, with or without modification,
# are permitted in any medium without royalty provided the copyright
# notice and this notice are preserved.  This file is offered as-is,
# without any warranty.

FOSSIL_CHECKOUT=$(dirname $(readlink -f $0))

# Populate authors list if needed
(
    cd $FOSSIL_CHECKOUT/
    if ! fossil user capabilities Beuc > /dev/null; then
	fossil user new Beuc beuc@beuc.net ''
    fi
)

# Convert commits
(cd $FOSSIL_CHECKOUT/ && fossil export --git) \
  | git fast-import
git reset HEAD .
git checkout .