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

  • SEARCH
  • Home
  • 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 9130971
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:03:45+00:00 2026-06-17T08:03:45+00:00

My project has a function that a user can select a specific file on

  • 0

My project has a function that a user can select a specific file on a selected revision in repo A, and my program will copy it to repo B.

I use the method getRevision in SVNDirEntry, to get the revision of the specific file. But it always returns the latest revision, which might lead the user to select a revision that isn’t relevant to that file (because I use that revision to generate the <option> on web page).

Example:
the file InfoStruc.java is checked into repo A on revision 61 the first time, and on revision 946 the second time.

The method, getRevisioninSVNDirEntry, would return 946.
If user selects InfoStruc.java on revision (1~60), it would lead to the file not found error.

Is there any method in SVNKit that could distinguish which revision is the first revision where some file was checked in ?

  • 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-06-17T08:03:46+00:00Added an answer on June 17, 2026 at 8:03 am

    The first time an item is committed, it will be shown as an Add action. You’ll have to look through all log entries for that item until you come to the one where it’s an Add instead of a Change.

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

Sidebar

Related Questions

My project has a file foo that I've been using and checking in with
My project has a C++ library that I want to allow the user to
I have a program that stores user projects as databases. Naturally, the program should
I am working a project currently in which the user can add multiple news
I have an MVC2 project that has a page on it that is supposed
I'm in a situation where I've got a project that has a large number
I have a simple view function that's designed to allow the user to choose
The program I am writing can edit a single project at a time. This
I have a user control that has button whose click event handler contains the
In my project an User can create a Customer and assigning it zero or

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.