[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How can I get the list of updated files in repositories in an excel file?

From: Ben Fritz <fritzophrenic_at_gmail.com>
Date: Tue, 23 Apr 2013 12:49:04 -0500

On Mon, Apr 22, 2013 at 8:16 PM, 김성희 (seonghee.kim) <skimb_at_lsis.biz> wrote:
>
> My team uses Tortoise SVN to make documentary more accessible to team
> members and it has been working well.
>
> And I have to make a list of recent upgraded files in every folder on an
> excel file. I’d have to do it by writing all the file names in excel files
> with hand.
>
> So, in Tortoise SVN, I need to get a list of recent files that I committed
> in an excel or word file.
>

Use the "show log" command in TortoiseSVN on the top-level directory. This will
show you a window with all revisions listed in the top pane, and a list of files
changed in the selected revision in the bottom pane. Select all the revisions in
the top pane. The changed files for ALL the revisions should now show in the
bottom pane. Select all of those and type CTRL+C to copy the list. Paste
wherever you like.

> I researched on the web and used repo-browser but I couldn’t make it as a
> list of excel files.
>
> And I also looked into your webpages and I found one answer in FAQ pages.
>
> “Can I get the list of all the repositories on my server?” Does this list of
> all the repositories of question and answer mean the text files like I want?
>

No, you said you're looking for a list of changed files. A list of repositories
on a server is something completely different. It doesn't list changed files, it
lists which repositories are available for commit, checkout, etc. You should
certainly understand basic concepts like "what is a repository?" or "what is a
working copy?" before you try to do ANYTHING with SVN.

> And if it is the case, What does “Doing ‘svn ls’ or equivalent” mean? Do I
> need another system for this?
>

"svn ls" refers to an svn command-line command. The svn command-line tools are
shipped with TortoiseSVN.

From the command-line (for exmaple, start->Run and type "cmd" on Windows), go to
the directory containing your working copy, and type "svn ls". Or, type
"svn ls http://example.com/path/to/my/repository". But this will give you a list
of *all* files in your repository. You said you want a list of *changed* files.

To see which files have changed in each revision, you use "svn log --verbose".
This shows basically the same inforamtion as the "show log" command in
TortoiseSVN. You can clean up this output with options to the "svn log" command,
and/or using external commands like "findstr" to filter specific lines, or
passing it through a simple Perl script. You can redirect this output to a text
file which can be copy-pasted anywhere as well. But it's probably easier to just
use the "show log" dialog like I said above unless you want to automate the
process.

If you DO want to automate the process, there are all sorts of 3rd-party
utilities that can send emails on commit, and all sorts of other things. I don't
know of anything specific, I just know they're out there.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3054066

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-04-23 19:49:29 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.