bugGNU arch -- a revision control system - Bugs: bug #6759, partial commit fails if file lacks...

 
 

bug #6759: partial commit fails if file lacks tag (tagline)

Submitted by:  Invalid User ID <Invalid User ID>
Submitted on:  Tue 25 Nov 2003 01:36:58 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicOpen/Closed: Open
Release: 
Fixed Release: 
Merge Request?: None
Your Archive Name: 
Your Archive Location: 
Assigned to: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 10 Jan 2004 12:16:53 AM UTC, comment #1:

I suppose it will work if you are positioned in the project tree root and specify "./450.inc" instead of "450.inc" (perhaps with some sub-directory parts in the name, depending on your case).

arch_inventory_id returns, in case of an untagged source file, just "?" prepended to the name of the specified file. It then compares this id to the one in the original index, i.e. it compares ?450.inc to ?./450.inc, which doesn't match (the untagged ids in the indices are generated relative to the project tree root and have a ./ prepended).

Commit will also fail if you are in a project subdirectory and specify a filename within that directory behind the "--", because there is (e.g.) no ?foo, but only an original ?./subdir/foo.

Perhaps arch_inventory_id needs a similar mechanism as coded in cmd-file-diffs.c: The name of the specified file gets translated into a name relative to the tree root first, depending on cwd.

Bug report #7023 seems to correspond to this one.

Mr. Nobody <gnubert>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item

Back to the top


Powered by Savane 3.1-cleanup1