Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6993517
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T19:46:29+00:00 2026-05-27T19:46:29+00:00

I am trying to fetch all activity that has been performed on a branch

  • 0

I am trying to fetch all activity that has been performed on a branch in my Java code using SVN Kit.

SVNRepository repository = SVNRepositoryFactory.create(svnURL);
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager("UserName", "password");
repository.setAuthenticationManager(authManager);
Collection logEntries = repository.log(new String[] { "" }, null, 0, -1, true, true);

The above code works like a charm and I am getting all activity on the Branch denoted by my svnURL attribute.

But the real problem comes in when after some activity the branch itself was renamed. For example

Initial Branch => https://domain/repository/branches/OriginalName
New
Branch =>  https://domain/repository/branches/NewName

Now, after the rename has happened, when I run the above code using the Old Name, I get a propfind error that says, the file cannot be located. But when I run with the new branch name, everything works file and it also gives the activity logs on that branch but only until the rename. The activity that had happened on the OldBranch name is not returned.

Is there a way in SVNKit to get the output as I am expecting?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T19:46:30+00:00Added an answer on May 27, 2026 at 7:46 pm

    You set the the parameter strictNode of log to true

    If strictNode is true, copy history will not be traversed (if any
    exists) when harvesting the revision logs for each path.

    This seems to be equivalent of stop on copy/rename in most GUIs. By setting it to false you should get the whole revision history.

    Note: svn rename is just a copy and delete. It will create a new copy of the file/folder and delete the old one.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From past few days I'm trying to develop a regex that fetch all the
I am trying to fetch all rows within a MySQL table that have a
I am trying two draw route between two location,For that I Fetch all the
I am trying to fetch all jobs registered with the Quartz scheduler for a
I'm trying to query a table, fetch all records, and save the result as
I'm trying to fetch the most popular tags from all videos in my database
I'm getting Permission Denied all the time when I'm trying to fetch my location
I'm trying to fetch data from a page that resides on an intranet. The
I am trying to fetch orders created in a specific period of dates using
I'm trying to fetch objects from core data that are not in a given

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.