Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on May 2, 2019. It is now read-only.

Commit ec74eb1

Browse filesBrowse files
committed
svn log searches revisions in the whole repository
1 parent 1c12c9e commit ec74eb1
Copy full SHA for ec74eb1

21 files changed

+21-21Lines changed: 21 additions & 21 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎ar/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: ar/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ However, the import isn’t perfect; and because it will take so long, you may a
362362

363363
To get a list of the author names that SVN uses, you can run this:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.
Collapse file

‎az/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: az/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ However, the import isn’t perfect; and because it will take so long, you may a
362362

363363
To get a list of the author names that SVN uses, you can run this:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.
Collapse file

‎ca/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: ca/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ However, the import isn’t perfect; and because it will take so long, you may a
362362

363363
To get a list of the author names that SVN uses, you can run this:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.
Collapse file

‎cs/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: cs/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ Takový import však není úplně dokonalý a vzhledem k tomu, jak dlouho můž
362362

363363
Chcete-li získat seznam jmen autorů používaných v SVN, spusťte tento příkaz:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
Vytvoříte tím log ve formátu XML. Můžete v něm vyhledávat autory, vytvořit si vlastní seznam a XML zase vyjmout. (Tento příkaz pochopitelně funguje pouze na počítačích, v nichž je nainstalován `grep`, `sort` a `perl`.) Poté tento výstup přesměrujte do souboru users.txt, abyste mohli vedle každého záznamu přidat stejná data o uživatelích Git.
Collapse file

‎de/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: de/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ Trotzdem ist der Import nicht perfekt. Und weil das ziemlich lange dauern wird,
506506

507507
Um eine Liste der Namen der Autoren bekommen, die SVN benutzen, kannst Du folgendes Kommando ausführen:
508508

509-
$ svn log --xml | grep -P "^<author" | sort -u | \
509+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
510510
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
511511

512512
<!--That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.-->
Collapse file

‎en/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: en/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ However, the import isn’t perfect; and because it will take so long, you may a
362362

363363
To get a list of the author names that SVN uses, you can run this:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.
Collapse file

‎es-ni/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: es-ni/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ However, the import isn’t perfect; and because it will take so long, you may a
362362

363363
To get a list of the author names that SVN uses, you can run this:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.
Collapse file

‎es/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: es/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ However, the import isn’t perfect; and because it will take so long, you may a
362362

363363
To get a list of the author names that SVN uses, you can run this:
364364

365-
$ svn log --xml | grep -P "^<author" | sort -u | \
365+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
366366
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
367367

368368
That gives you the log output in XML format — you can look for the authors, create a unique list, and then strip out the XML. (Obviously this only works on a machine with `grep`, `sort`, and `perl` installed.) Then, redirect that output into your users.txt file so you can add the equivalent Git user data next to each entry.
Collapse file

‎fr/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: fr/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ Créez un fichier appelé `users.txt` contenant cette équivalence dans le forma
445445

446446
Pour récupérer la liste des noms d'auteurs utilisés par SVN, vous pouvez utiliser la ligne suivante :
447447

448-
$ svn log --xml | grep -P "^<author" | sort -u | \
448+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
449449
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
450450

451451
Cela génère une sortie au format XML — vous pouvez visualiser les auteurs, créer une liste unique puis éliminer l'XML.
Collapse file

‎ja/08-git-and-other-scms/01-chapter8.markdown‎

Copy file name to clipboardExpand all lines: ja/08-git-and-other-scms/01-chapter8.markdown
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Subversion に慣れているので SVN が出力する形式で歴史を見た
363363

364364
SVN で使っている作者の一覧を取得するには、このようにします。
365365

366-
$ svn log --xml | grep -P "^<author" | sort -u | \
366+
$ svn log ^/ --xml | grep -P "^<author" | sort -u | \
367367
perl -pe 's/<author>(.*?)<\/author>/$1 = /' > users.txt
368368

369369
これは、まずログを XML フォーマットで出力します。その中から作者を捜して重複を省き、XML を除去します (ちょっと見ればわかりますが、これは `grep``sort`、そして `perl` といったコマンドが使える環境でないと動きません)。この出力を users.txt にリダイレクトし、そこに Git のユーザーデータを書き足していきます。

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.