Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
ad9b2a41
Commit
ad9b2a41
authored
Feb 21, 2011
by
Alex Converse
Committed by
Michael Niedermayer
Feb 22, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old VCSs from version.sh
(cherry picked from commit
203df50d
)
parent
352cb0da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
13 deletions
+0
-13
version.sh
version.sh
+0
-13
No files found.
version.sh
View file @
ad9b2a41
#!/bin/sh
#!/bin/sh
# check for SVN revision number
revision
=
$(
cd
"
$1
"
&&
cat
snapshot_version 2> /dev/null
)
revision
=
$(
cd
"
$1
"
&&
cat
snapshot_version 2> /dev/null
)
test
"
$revision
"
||
revision
=
$(
cd
"
$1
"
&&
LC_ALL
=
C svn info 2> /dev/null |
grep
"Last Changed Rev"
|
cut
-d
' '
-f4
)
test
"
$revision
"
||
revision
=
$(
cd
"
$1
"
&&
grep
committed-rev .svn/entries 2>/dev/null |
head
-n
1 |
cut
-d
'"'
-f2
)
test
"
$revision
"
||
revision
=
$(
cd
"
$1
"
&&
sed
-n
-e
'/^dir$/{n
p
q
}'
.svn/entries 2>/dev/null
)
test
"
$revision
"
&&
revision
=
SVN-r
$revision
test
"
$revision
"
&&
revision
=
SVN-r
$revision
# check for git svn revision number
if
!
test
"
$revision
"
;
then
revision
=
$(
cd
"
$1
"
&&
git svn find-rev HEAD 2> /dev/null
)
test
"
$revision
"
&&
revision
=
git-svn-r
$revision
fi
# check for git short hash
# check for git short hash
if
!
test
"
$revision
"
;
then
if
!
test
"
$revision
"
;
then
revision
=
$(
cd
"
$1
"
&&
git describe
--tags
--match
N 2> /dev/null
)
revision
=
$(
cd
"
$1
"
&&
git describe
--tags
--match
N 2> /dev/null
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment